Browse files

Get rid of tests involving role_type.

  • Loading branch information...
1 parent da562f7 commit 7531593f1a73bed4408270350b6ebf3536d4280d @VictorLowther VictorLowther committed Mar 26, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 crowbar_engine/barclamp_network/test/network_test_helper.rb
View
4 crowbar_engine/barclamp_network/test/network_test_helper.rb
@@ -149,9 +149,7 @@ def self.create_buses(bus_order)
def self.add_role(snapshot, node, role_name)
- role_type = RoleType.create!(:name=>role_name)
-
- role = Role.create!(:role_type_id => role_type.id, :snapshot_id => snapshot.id)
+ role = Role.create!(:name => role_name, :snapshot_id => snapshot.id)
role.add_node(node)
end

0 comments on commit 7531593

Please sign in to comment.