Sha256: 8ed81158861d5d3db84dfac22bcc60f738b6adecadbcc8f1b069700b29c9c1e0

Contents?: true

Size: 388 Bytes

Versions: 11

Compression:

Stored size: 388 Bytes

Contents

require "spec_helper"

RSpec.describe <%= settings.project_namespaced_class %> do
  describe ".loader" do
    it "eager loads" do
      expectation = proc { described_class.loader.eager_load force: true }
      expect(&expectation).not_to raise_error
    end

    it "answers unique tag" do
      expect(described_class.loader.tag).to eq("<%= settings.project_name %>")
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rubysmith-8.0.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.9.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.8.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.7.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.6.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.5.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.4.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.3.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.2.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.1.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-7.0.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb