Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Wow I'm really not with it today
- Loading branch information
Showing
2 changed files
with
4 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
require 'fileutils' | ||
require 'image_sorcery' | ||
|
||
describe "Image Sorcery with GraphicsMagick" do | ||
before :each do | ||
FileUtils.copy "./spec/fixtures/dog.jpeg", "./spec/fixtures/dog-2.jpeg" | ||
@image = ImageSorcery.gm("./spec/fixtures/dog-2.jpeg") # Who doesn't love dogs? | ||
end | ||
|
||
it_behaves_like ImageSorcery, "gm" | ||
describe "Image Sorcery with ImageMagick" do | ||
it_behaves_like ImageSorcery, "new" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
require 'fileutils' | ||
require 'image_sorcery' | ||
|
||
describe "Image Sorcery with ImageMagick" do | ||
before :each do | ||
FileUtils.copy "./spec/fixtures/dog.jpeg", "./spec/fixtures/dog-2.jpeg" | ||
@image = ImageSorcery.new("./spec/fixtures/dog-2.jpeg") # Who doesn't love dogs? | ||
end | ||
|
||
it_behaves_like ImageSorcery | ||
describe "Image Sorcery with GraphicsMagick" do | ||
it_behaves_like ImageSorcery, "gm" | ||
end |