spec/unit/page_spec.rb in activeadmin-1.0.0 vs spec/unit/page_spec.rb in activeadmin-1.1.0
- old
+ new
@@ -1,7 +1,5 @@
-# encoding: utf-8
-
require 'rails_helper'
require File.expand_path('config_shared_examples', File.dirname(__FILE__))
module ActiveAdmin
RSpec.describe Page do
@@ -68,10 +66,9 @@
end
it "should not belong_to anything" do
expect(config.belongs_to?).to eq false
end
-
it "should not have any action_items" do
expect(config.action_items?).to eq false
end