spec/ruboty/adapter_builder_spec.rb in ruboty-1.2.2 vs spec/ruboty/adapter_builder_spec.rb in ruboty-1.2.3
- old
+ new
@@ -10,11 +10,11 @@
end
describe "#build" do
context "with no other adapter class definition" do
it "returns a Ruboty::Adapters::Shell as a default adapter" do
- builder.build.should be_a Ruboty::Adapters::Shell
+ expect(builder.build).to be_a Ruboty::Adapters::Shell
end
end
context "with another adapter class definition" do
after do
@@ -27,10 +27,10 @@
end
end
end
it "returns an instance of that adapter class" do
- builder.build.should be_a another_adapter_class
+ expect(builder.build).to be_a another_adapter_class
end
end
end
end