spec/flipper/gate_spec.rb in flipper-0.7.1 vs spec/flipper/gate_spec.rb in flipper-0.7.2
- old
+ new
@@ -1,8 +1,8 @@
require 'helper'
-describe Flipper::Gate do
+RSpec.describe Flipper::Gate do
let(:feature_name) { :stats }
subject {
described_class.new
}
@@ -29,13 +29,13 @@
subclass.new
}
it "includes attributes" do
string = subject.inspect
- string.should include(subject.object_id.to_s)
- string.should include('name=:name')
- string.should include('key=:key')
- string.should include('data_type=:set')
+ expect(string).to include(subject.object_id.to_s)
+ expect(string).to include('name=:name')
+ expect(string).to include('key=:key')
+ expect(string).to include('data_type=:set')
end
end
end
end