spec/statesman/config_spec.rb in statesman-0.7.0 vs spec/statesman/config_spec.rb in statesman-0.8.0
- old
+ new
@@ -10,10 +10,10 @@
describe "#storage_adapter" do
let(:adapter) { Class.new }
before { instance.storage_adapter(adapter) }
subject { instance.adapter_class }
- it { should be(adapter) }
+ it { is_expected.to be(adapter) }
it "is DSL configurable" do
new_adapter = adapter
Statesman.configure { storage_adapter(new_adapter) }