spec/video_array_spec.rb in nicoapi-0.0.4.1 vs spec/video_array_spec.rb in nicoapi-0.0.6
- old
+ new
@@ -1,16 +1,15 @@
-require 'NicoAPI/video_array'
+require 'nicoapi/video_array'
describe "VideoArray" do
before do
- @instance = NicoAPI::VideoArray.new
- @instance.set ['sm9', 'sm14']
+ @instance = NicoAPI::VideoArray.new ['sm9', 'sm14']
end
describe "uri" do
subject { @instance.uri }
specify {
expect(subject).to match /http:\/\/i\.nicovideo\.jp\/v3\/video\.array\?v=((sm\d|nm\d),{0,}){1,}/
}
end
-end
\ No newline at end of file
+end