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-1.1.3 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.2 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.1 spec/rspec_helpers/test_spec.rb
releaf-core-1.1.0 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.10 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.9 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.8 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.7 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.6 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.5 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.4 spec/rspec_helpers/test_spec.rb
releaf-core-1.0.3 spec/rspec_helpers/test_spec.rb