Sha256: d6374748f02af3b487043473fdf5a88baf038a265106e4da93407d2ca0fe249a

Contents?: true

Size: 387 Bytes

Versions: 32

Compression:

Stored size: 387 Bytes

Contents

require "rails_helper"

describe Releaf::Test do
  describe ".reset!" do
    it "calls `Releaf::Content::RoutesReloader` reset" do
      # initial there are two calls
      expect(Releaf::Content::RoutesReloader).to receive(:reset!).twice
      described_class.reset!

      expect(Releaf::Content::RoutesReloader).to receive(:reset!).once
      described_class.reset!
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
releaf-core-2.0.0 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.22 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.21 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.20 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.19 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.18 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.17 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.16 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.15 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.14 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.13 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.12 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.11 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.10 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.9 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.8 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.7 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.6 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.5 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.4 spec/rspec_helpers/test_spec.rb