Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
envygeeks committed Nov 20, 2017
1 parent 8521cf6 commit 0bbc532
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/tests/lib/jekyll/assets/utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,15 @@
#

it "uses it" do
expect(subject.in_cache_dir).to \
expect(subject.in_cache_dir.to_s).to \
end_with("/hello-cache")
end
end

#

it "allows paths" do
expect(subject.in_cache_dir("one", "two")).to \
expect(subject.in_cache_dir("one", "two").to_s).to \
end_with("one/two")
end
end
Expand All @@ -209,23 +209,23 @@

it "uses it" do
rtn = subject.in_dest_dir
expect(rtn).to end_with("/hello")
expect(rtn.to_s).to end_with("/hello")
end
end

#

it "in site dir" do
rtn = subject.in_dest_dir
expect(rtn).to start_with(jekyll
.in_dest_dir)
expect(rtn.to_s).to start_with(jekyll
.in_dest_dir.to_s)
end

#

it "allows paths" do
rtn = subject.in_dest_dir("one", "two")
expect(rtn).to end_with("one/two")
expect(rtn.to_s).to end_with("one/two")
end
end

Expand Down

0 comments on commit 0bbc532

Please sign in to comment.