spec/unit/berkshelf/dependency_spec.rb in berkshelf-3.0.0.beta4 vs spec/unit/berkshelf/dependency_spec.rb in berkshelf-3.0.0.beta5
- old
+ new
@@ -259,16 +259,16 @@
describe "#scm_location?" do
let(:options) { Hash.new }
subject { described_class.new(berksfile, cookbook_name, options).scm_location? }
context "when the location is a GitLocation" do
- let(:options) { { git: "git@github.com:RiotGames/berkshelf.git" } }
+ let(:options) { { git: "git@github.com:berkshelf/berkshelf.git" } }
it { should be_true }
end
context "when the location is a GithubLocation" do
- let(:options) { { github: "RiotGames/berkshelf" } }
+ let(:options) { { github: "berkshelf/berkshelf" } }
it { should be_true }
end
context "when the location is a PathLocation" do
let(:options) { { path: fixtures_path.join('cookbooks', 'example_cookbook') } }
@@ -284,10 +284,10 @@
let(:options) { { path: fixtures_path.join("cookbooks", "example_cookbook") } }
it { should be_true }
end
context "when the location is not a PathLocation" do
- let(:options) { { github: "RiotGames/berkshelf" } }
+ let(:options) { { github: "berkshelf/berkshelf" } }
it { should be_false }
end
end
end