spec/item_spec.rb in beatport-0.3.0 vs spec/item_spec.rb in beatport-0.4.0
- old
+ new
@@ -1,11 +1,11 @@
require 'spec_helper'
-module Beatport
+module Beatport
describe Item do
describe '.new' do
it "should raise an error when given invalid data" do
- expect { Item.new(1) }.to raise_exception
+ expect { Item.new(1) }.to raise_exception(ArgumentError)
end
end
end
end
\ No newline at end of file