Skip to content

Instantly share code, notes, and snippets.

@Lackoftactics
Created December 9, 2014 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lackoftactics/e84c60ee477273c7ba59 to your computer and use it in GitHub Desktop.
Save Lackoftactics/e84c60ee477273c7ba59 to your computer and use it in GitHub Desktop.
rescue rake spec
From: /home/przemek/Projects/dirble/spec/station_spec.rb @ line 20 :
15: station = Dirble::Station.by_continent('Asia').first
16: expect(station.name).to eq('Lounge Beats')
17: end
18:
19: it 'returns station filtered by country using iso code' do
=> 20: station = Dirble::Station.by_country_code('us').first
21: expect(station.country).to eq('US')
22: end
23:
24: it 'returns station filtered by country name' do
25: station = Dirble::Station.by_country_name('United States').first
NoMethodError: undefined method `by_country_code' for Dirble::Station:Class
from /home/przemek/Projects/dirble/spec/station_spec.rb:20:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment