Sha256: f251a6e2edbd53f5a85e7ef4199f95bf1567da59d517092fa7c4e31b88660ef6

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

# encoding: utf-8

describe Hexx::RSpec::Install, :sandbox do

  describe ".start" do

    before { try_in_sandbox { described_class.start } }

    it "creates necessary files" do
      %w(
        .rspec
        Rakefile
        config/metrics/simplecov.yml
      ).each { |file| expect(file).to be_present_in_sandbox }
    end

    it "adds Hexx::RSpec tasks loader to Rakefile" do
      expect(read_in_sandbox "Rakefile").to include "Hexx::RSpec.install_tasks"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hexx-rspec-0.0.1 spec/tests/lib/install_spec.rb