Replace user_blocks fixture with a factory.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Oct 2016 09:57:40 +0000 (10:57 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Oct 2016 09:57:40 +0000 (10:57 +0100)
commit23c3168c55a2be7fd0176e235c12d8338d6b0a17
treeba4dbe7ef93d59038fa05b72abcf88e999911f85
parent23c79ba2a39288dc69fff7b0587004545c40e941
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.
test/controllers/amf_controller_test.rb
test/controllers/user_blocks_controller_test.rb
test/controllers/user_controller_test.rb
test/factories/user_blocks.rb [new file with mode: 0644]
test/fixtures/user_blocks.yml [deleted file]
test/integration/user_blocks_test.rb
test/integration/user_login_test.rb
test/test_helper.rb