Skip to content

Commit

Permalink
Create ISA tag factories for isa_assays_controller_test
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed May 15, 2024
1 parent 46a7178 commit 6bd6057
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/functional/isa_assays_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@ class IsaAssaysControllerTest < ActionController::TestCase

def setup
login_as FactoryBot.create :user

# Create all isa_tag factories
@source_isa_tag = FactoryBot.create(:source_isa_tag)
@source_characteristic_isa_tag = FactoryBot.create(:source_characteristic_isa_tag)

@sample_isa_tag = FactoryBot.create(:sample_isa_tag)
@sample_characteristic_isa_tag = FactoryBot.create(:sample_characteristic_isa_tag)

@protocol_isa_tag = FactoryBot.create(:protocol_isa_tag)
@parameter_value_isa_tag = FactoryBot.create(:parameter_value_isa_tag)

@other_material_isa_tag = FactoryBot.create(:other_material_isa_tag)
@other_material_characteristic_isa_tag = FactoryBot.create(:other_material_characteristic_isa_tag)

@data_file_isa_tag = FactoryBot.create(:data_file_isa_tag)
@data_file_comment_isa_tag = FactoryBot.create(:data_file_comment_isa_tag)

end

test 'should get new' do
Expand Down

0 comments on commit 6bd6057

Please sign in to comment.