Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
BIN spec/fixtures/known_good/sprites/buttons.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
3 spec/lib/sprites/test/sprite_generator_tester_spec.rb
@@ -6,7 +6,6 @@
before do
sprites.configuration.configure(
- :sprites_path => 'spec/fixtures/known_good/sprites',
:sprite_pieces_path => 'spec/fixtures/known_good/sprite_images'
)
define_buttons_sprite
@@ -15,6 +14,7 @@
describe "#accurate" do
it 'should return 0 for known good sprite' do
sprites.configuration.configure(
+ :sprites_path => 'spec/fixtures/known_good/sprites',
:sprite_stylesheets_path => 'spec/fixtures/known_good/stylesheets'
)
tester = Sprites::SpriteGeneratorTester.new(sprites[:buttons])
@@ -26,6 +26,7 @@
it "should match" do
sprites.configuration.configure(
:sprite_asset_path => '/assets/sprites',
+ :sprites_path => 'tmp/images/sprites',
:sprite_stylesheets_path => 'tmp/stylesheets/sprites'
)

No commit comments for this range

Something went wrong with that request. Please try again.