Skip to content

Commit

Permalink
updating Recipe spec to use expect
Browse files Browse the repository at this point in the history
  • Loading branch information
wrburgess committed May 12, 2013
1 parent b545878 commit 4afc702
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/models/recipe_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
describe Recipe do

it 'has a valid factory' do
FactoryGirl.create(:recipe).should be_valid
recipe = FactoryGirl.create(:recipe)
expect(recipe).to be_valid
end

it { should have_many(:steps) }
Expand Down

0 comments on commit 4afc702

Please sign in to comment.