Sha256: d74e0e0d872015bc44f20514f7977f767acce71488179d47f1a5f2a509e97ece
Contents?: true
Size: 589 Bytes
Versions: 6
Compression:
Stored size: 589 Bytes
Contents
require "spec_helper" describe Teaspoon::Engine do it "is a class" do Teaspoon::Engine.should be_a(Class) end it "has been isolated with a name" do expect(Teaspoon::Engine.isolated?).to be(true) expect(Teaspoon::Engine.railtie_name).to eql("teaspoon") end it "adds asset paths from configuration" do expect(Rails.application.config.assets.paths).to include(Teaspoon.configuration.root.join("spec/javascripts").to_s) expect(Rails.application.config.assets.paths).to include(Teaspoon.configuration.root.join("spec/javascripts/stylesheets").to_s) end end
Version data entries
6 entries across 6 versions & 1 rubygems