test/fastly-rails_test.rb in fastly-rails-0.1.3 vs test/fastly-rails_test.rb in fastly-rails-0.1.4

- old
+ new

@@ -14,9 +14,13 @@ assert_kind_of Module, FastlyRails end describe 'credentials not provided' do + before do + FastlyRails.instance_variable_set('@configuration', FastlyRails::Configuration.new) + end + it 'should raise an error if configuration is not authenticatable' do assert_equal false, configuration.authenticatable? assert_equal true, configuration.invalid_service_id? assert_raises FastlyRails::NoAuthCredentialsProvidedError do