test/merges_test.rb in fabricators-0.0.4 vs test/merges_test.rb in fabricators-0.1.0

- old
+ new

@@ -7,21 +7,21 @@ fabricator :user do name 'name' end end end - + test "return attributes" do assert_equal 'other', attributes_for(:user, name: 'other')[:name] end - + test "build instance" do assert_equal 'other', build(:user, name: 'other').name build(:user, 3, name: 'other').each do |user| assert_equal 'other', user.name end end - + test "create instance" do assert_equal 'other', create(:user, name: 'other').name create(:user, 3, name: 'other').each do |user| assert_equal 'other', user.name end