spec/device_spec.rb in narou-1.5.11 vs spec/device_spec.rb in narou-1.6.0
- old
+ new
@@ -10,30 +10,30 @@
describe Device::Library::Windows do
it "Windows7_OSなボリュームネームのドライブは C:/" do
module Dummy
extend Device::Library::Windows
end
- Dummy.get_device_root_dir("Windows7_OS").should == "C:/"
+ expect(Dummy.get_device_root_dir("Windows7_OS")).to eq("C:/")
end
end
describe "Kindle" do
before do
@device = Device.create("kindle")
end
it "は存在するべき" do
- Device.exists?("kindle").should be_true
+ expect(Device.exists?("kindle")).to be_truthy
end
end
describe "Kobo" do
before do
@device = Device.create("kobo")
end
it "は存在するべき" do
- Device.exists?("kobo").should be_true
+ expect(Device.exists?("kobo")).to be_truthy
end
end
end
end