Replace user_blocks fixture with a factory.
Traits are used here to make the tests easier to read, and the different traits can be combined where necessary.
This commit is contained in:
parent
23c79ba2a3
commit
23c3168c55
8 changed files with 97 additions and 71 deletions
|
@ -13,7 +13,7 @@ module ActiveSupport
|
|||
# Load standard fixtures needed to test API methods
|
||||
def self.api_fixtures
|
||||
# print "setting up the api_fixtures"
|
||||
fixtures :users, :user_roles, :user_blocks
|
||||
fixtures :users, :user_roles
|
||||
fixtures :changesets, :changeset_tags
|
||||
|
||||
fixtures :current_nodes, :nodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue