Sha256: 013bf4d4cf62f55f22873db71b356e14005e41391f2039f4b043360081a4a0df

Contents?: true

Size: 419 Bytes

Versions: 6

Compression:

Stored size: 419 Bytes

Contents

require "spec_helper"

module Refinery
  module Core
    describe Engine, :type => :feature do
      describe "#refinery_inclusion!" do
        it "should be idempotent" do
          expect { visit(refinery.root_path) }.not_to raise_error
          Engine.refinery_inclusion!
          Engine.refinery_inclusion!
          expect { visit(refinery.root_path) }.not_to raise_error
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 spec/features/refinery/core_spec.rb
refinerycms-core-4.0.2 spec/features/refinery/core_spec.rb
refinerycms-core-4.0.1 spec/features/refinery/core_spec.rb
refinerycms-core-3.0.6 spec/features/refinery/core_spec.rb
refinerycms-core-4.0.0 spec/features/refinery/core_spec.rb
refinerycms-core-3.0.5 spec/features/refinery/core_spec.rb