spec/mascot-rails_spec.rb in mascot-rails-0.1.10 vs spec/mascot-rails_spec.rb in mascot-rails-0.1.11
- old
+ new
@@ -3,11 +3,11 @@
require "mascot-rails"
describe Mascot do
context "default configuration" do
subject{ Mascot.configuration }
- it "has sitemap" do
- expect(subject.sitemap.root).to eql(Rails.root.join("app/pages"))
+ it "has site" do
+ expect(subject.site.root).to eql(Rails.root.join("app/pages"))
end
it "has Rails.application as parent engine" do
expect(subject.parent_engine).to eql(Rails.application)
end
it "has routes enabled by default" do