Sha256: 7abea651c6e9d6fa08ab17c597ffadc8f7f0e39622cd5a8e82d1be80ceba73de

Contents?: true

Size: 405 Bytes

Versions: 5

Compression:

Stored size: 405 Bytes

Contents

require "rails_helper"

describe "magic_lamp:lint" do
  it { is_expected.to depend_on(:environment) }

  it "generates all fixtures" do
    expect(MagicLamp).to receive(:generate_all_fixtures)
    allow(MAIN_OBJECT).to receive(:puts).and_return(:puts)
    subject.execute
  end
end

describe "mll" do
  it "is an alias for magic_lamp:lint" do
    expect(subject).to depend_on("magic_lamp:lint")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
magic_lamp-1.4.1 spec/tasks/lint_task_spec.rb
magic_lamp-1.4.0 spec/tasks/lint_task_spec.rb
magic_lamp-1.3.1 spec/tasks/lint_task_spec.rb
magic_lamp-1.3.0 spec/tasks/lint_task_spec.rb
magic_lamp-1.2.0 spec/tasks/lint_task_spec.rb