diff options
| author | Zakaria BOUZIANE | 2015-03-09 14:40:32 +0100 | 
|---|---|---|
| committer | Zakaria BOUZIANE | 2015-03-09 14:40:32 +0100 | 
| commit | 05fb2b7aa8ca7d490a8960a096de7d934fffe133 (patch) | |
| tree | 9b6666380cdbd2eff1f79c79d97fbd302a768006 /spec/support | |
| parent | 0d5adf2fad5c0ddd8efc1eca9dc6d8e9c48b049d (diff) | |
| parent | a5f66f953120c08951b6338ad0f743c2d0eec86e (diff) | |
| download | chouette-core-05fb2b7aa8ca7d490a8960a096de7d934fffe133.tar.bz2 | |
Solving merge V2_5 pbs
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/referential.rb | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb index b2a8cf279..d77a05f41 100644 --- a/spec/support/referential.rb +++ b/spec/support/referential.rb @@ -12,12 +12,18 @@ module ReferentialHelper    end    module ClassMethods - +          def assign_referential        before(:each) do          assign :referential, referential        end      end +    def assign_organisation +      before(:each) do +        assign :organisation, referential.organisation +      end +    end +    end  | 
