Sha256: 77422baf801e30ff1c8eed6d324fba76cda2e646d4c5b997259554a60d86b7e1
Contents?: true
Size: 545 Bytes
Versions: 8
Compression:
Stored size: 545 Bytes
Contents
require "rails_helper" describe "magic_lamp:fixture_names" do it { is_expected.to depend_on(:environment) } it "outputs a sorted list of all the fixture names" do expect(MAIN_OBJECT).to receive(:puts) do |output| fixture_names = MagicLamp.registered_fixtures.keys.sort expect(output).to_not be_empty expect(output).to eq(fixture_names) end subject.execute end end describe "mlfn" do it "is an alias for magic_lamp:fixture_names" do expect(subject).to depend_on("magic_lamp:fixture_names") end end
Version data entries
8 entries across 8 versions & 1 rubygems