1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/test/services/open_lab_service_test.rb
2023-09-27 15:36:19 +02:00

16 lines
379 B
Ruby

# frozen_string_literal: true
require 'test_helper'
# In the following tests, amounts are expressed in centimes, ie. 1000 = 1000 cts = 10,00 EUR
class OpenLabServiceTest < ActiveSupport::TestCase
test "do not raise any error" do
h = nil
assert_nothing_raised do
h = OpenLabService.to_hash(projects(:project_1))
end
assert_instance_of Hash, h
end
end