spec/requests/stylesheets_spec.rb in activeadmin-1.0.0.pre2 vs spec/requests/stylesheets_spec.rb in activeadmin-1.0.0.pre3
- old
+ new
@@ -7,10 +7,10 @@
let(:css) do
assets = Rails.application.assets
assets.find_asset("active_admin.css")
end
it "should successfully render the scss stylesheets using sprockets" do
- expect(css).to_not be_nil
+ expect(css).to_not eq nil
end
it "should not have any syntax errors" do
expect(css.to_s).to_not include("Syntax error:")
end