Sha256: 8bb5b5cb5a41912ac505e2db97a550450194fdecf5d88375cda23d5f3e3cdc6f

Contents?: true

Size: 502 Bytes

Versions: 10

Compression:

Stored size: 502 Bytes

Contents

require 'spec_helper'

describe "Ghostinspector" do
  before do
    @configuration = Capistrano::Configuration.new
    @configuration.extend(Capistrano::Spec::ConfigurationExtension)

    Capistrano::Ghostinspector.load_into(@configuration)
  end

  subject { @configuration }

	context "when running capistrano:ghostinspector:run" do
		before do
			@configuration.set :gitest, 'home'
		end

	    it "it should define tests" do
			@configuration.fetch(:gitest).should == 'home'
		end

	end

end







Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
capistrano-ghostinspector-1.0.2 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-1.0.1 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-1.0.0 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.4.0 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.3.0 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.2.0 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.2.0.rc spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.1.2 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.1.1 spec/capistrano-ghostinspector_spec.rb
capistrano-ghostinspector-0.1.0 spec/capistrano-ghostinspector_spec.rb