aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/referentials
diff options
context:
space:
mode:
authorAlban Peignier2012-04-19 10:10:23 +0200
committerAlban Peignier2012-04-19 10:10:23 +0200
commit31c3a945318d135850409e412c710ffbe2f599a7 (patch)
tree37491c9ae91ba3ac749f12660840a8952900bdc5 /spec/views/referentials
parentfa8fd7f710737e8f833cda2e3c74e24d40e6dfcd (diff)
downloadchouette-core-31c3a945318d135850409e412c710ffbe2f599a7.tar.bz2
Uses new FactoryGirl syntax in specs. Refs #13
Diffstat (limited to 'spec/views/referentials')
-rw-r--r--spec/views/referentials/show.html.erb_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/referentials/show.html.erb_spec.rb b/spec/views/referentials/show.html.erb_spec.rb
index 30347bae8..70518a270 100644
--- a/spec/views/referentials/show.html.erb_spec.rb
+++ b/spec/views/referentials/show.html.erb_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe "referentials/show.html.erb" do
- let!(:referential) { assign(:referential, Factory(:referential)) }
+ let!(:referential) { assign(:referential, create(:referential)) }
it "should have a title with name" do
render