diff --git a/spec/models/bustimes_spec.rb b/spec/models/bustimes_spec.rb index 8e16c0f..e6d965b 100644 --- a/spec/models/bustimes_spec.rb +++ b/spec/models/bustimes_spec.rb @@ -1,10 +1,6 @@ require 'spec_helper' describe Bustime, :vcr do - it "should have access to the API key" do - expect(ENV['CTA_API_KEY']).to be_present - end - describe "busroutes" do before { @busroutes = Bustime.new.busroutes } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 7b99ae9..54e21c0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,7 +8,7 @@ # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. -Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} +Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } RSpec.configure do |config| config.include Rails.application.routes.url_helpers