Sha256: 86bad75441efc608fa9bf65f6ad3ea7b670ebdbbc9195bde3655075c8f8abdcd
Contents?: true
Size: 374 Bytes
Versions: 4
Compression:
Stored size: 374 Bytes
Contents
describe Spotify do describe Spotify::CallbackStruct do subject { Spotify::SessionCallbacks.new } it { should be_a Spotify::CallbackStruct } it "should raise an error if given a callback of the wrong arity" do callback = lambda { |x| } expect { subject[:logged_in] = callback }.to raise_error(ArgumentError, /takes 2 arguments/) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hallon-0.18.2 | spec/hallon/spotify_spec.rb |
hallon-0.18.1 | spec/hallon/spotify_spec.rb |
hallon-0.18.0 | spec/hallon/spotify_spec.rb |
hallon-0.17.0 | spec/hallon/spotify_spec.rb |