Skip to content

Commit

Permalink
Fix action factory creating actions with same names
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlON committed Feb 16, 2017
1 parent b72837e commit 90139d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/factories/actions.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FactoryGirl.define do
factory :action do
name { Faker::Hacker.ingverb }
sequence(:name) { |n| Faker::Hacker.ingverb + n.to_s }
end
end

0 comments on commit 90139d0

Please sign in to comment.