spec/rails/ucblit/logging/env_spec.rb in berkeley_library-logging-0.2.5 vs spec/rails/ucblit/logging/env_spec.rb in berkeley_library-logging-0.2.6

- old
+ new

@@ -3,14 +3,14 @@ module BerkeleyLibrary describe Logging do attr_reader :orig_rails_env - before(:each) do + before do @orig_rails_env = Rails.env end - after(:each) do + after do Rails.env = orig_rails_env end describe :env= do it 'sets Rails.env' do