Sha256: 9a815afddb74e233b6c2c29ab712de1b98b8ed5b14d3d9240df108e34d8dc372

Contents?: true

Size: 398 Bytes

Versions: 11

Compression:

Stored size: 398 Bytes

Contents

require "spec_helper"

RSpec.describe <%= configuration.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("<%= configuration.project_name %>")
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.9.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.6.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.5.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.4.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.3.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.2.1 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.2.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.1.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-6.0.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb
rubysmith-5.9.0 lib/rubysmith/templates/%project_name%/spec/lib/%project_path%_spec.rb.erb