diff options
| author | Alban Peignier | 2012-08-30 17:56:42 +0200 |
|---|---|---|
| committer | Alban Peignier | 2012-08-30 17:56:42 +0200 |
| commit | d216c393f3dbb88a4632cf18a35dd5be192f0ec9 (patch) | |
| tree | fb89644233e64280baf1e27205a7662c4e2c8590 /spec/support | |
| parent | b103b5a35f110ea25bddf6cd571bf2bb9f245a5d (diff) | |
| download | chouette-core-d216c393f3dbb88a4632cf18a35dd5be192f0ec9.tar.bz2 | |
Et avec des :: ?
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/referential.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb index 8a6ccc203..6a664bfa5 100644 --- a/spec/support/referential.rb +++ b/spec/support/referential.rb @@ -29,7 +29,7 @@ RSpec.configure do |config| config.before(:suite) do organisation = Organisation.find_or_create_by_name :name => "first" organisation.referentials.find_by_slug("first" ) || - FactoryGirl.create(:referential, :slug => "first", :organisation => organisation) + ::FactoryGirl.create(:referential, :slug => "first", :organisation => organisation) # FIXME in Rails 3.2 : # Referential.where(:slug => 'first').first_or_create(attributes_for(:referential)) end |
