Skip to content

Commit

Permalink
Fix Rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
midnightSuyama committed Sep 22, 2014
1 parent db055e8 commit 772bcf9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/appicon_generate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@
end

it 'should exist' do
File.exists?(path).should be_true
expect(File.exists?(path)).to be true
end

it 'format should be png' do
@image_size.format.should eq :png
expect(@image_size.format).to eq :png
end

it "width should be #{px}px" do
@image_size.width.should eq px
expect(@image_size.width).to eq px
end

it "height should be #{px}px" do
@image_size.height.should eq px
expect(@image_size.height).to eq px
end
end
end
Expand Down Expand Up @@ -95,19 +95,19 @@
end

it 'should exist' do
File.exists?(path).should be_true
expect(File.exists?(path)).to be true
end

it 'format should be png' do
@image_size.format.should eq :png
expect(@image_size.format).to eq :png
end

it "width should be #{px}px" do
@image_size.width.should eq px
expect(@image_size.width).to eq px
end

it "height should be #{px}px" do
@image_size.height.should eq px
expect(@image_size.height).to eq px
end
end
end
Expand Down

0 comments on commit 772bcf9

Please sign in to comment.