spec/sprocket_spec.rb in lev-9.0.4 vs spec/sprocket_spec.rb in lev-10.0.0
- old
+ new
@@ -1,11 +1,11 @@
require 'spec_helper.rb'
-describe Sprocket do
+RSpec.describe Sprocket do
it "should not be valid with bad inputs" do
sprocket = Sprocket.new(integer_gt_2: 1, text_only_letters: 'abcd4')
expect(sprocket.valid?).to eq(false)
expect(sprocket.errors.count).to eq 2
end
-end
\ No newline at end of file
+end