Skip to content

Commit

Permalink
fixed test to pass travis env as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Kim committed May 21, 2015
1 parent 87c8675 commit 8a5c89a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/lib/flavor_gem/util_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class Dummy < Thor
describe "#template_file_name" do
it "returns the right path" do
result = subject.template_file_name("Rakefile")
expect(result).to eq("c:/gabriel/flavor_gem/template/Rakefile")
expected = File.expand_path("../../../../template/Rakefile", __FILE__)
expect(result).to eq(expected)
end
end
describe "#normalize_code" do
Expand Down

0 comments on commit 8a5c89a

Please sign in to comment.