Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Fixes #1453 #1811

Closed
wants to merge 5 commits into from
Closed

Fixes #1453 #1811

wants to merge 5 commits into from

Conversation

roccogalluzzo
Copy link
Contributor

No description provided.

@@ -137,6 +137,8 @@ def assign(uploaded_file)
# +#for(style_name, options_hash)+

def url(style_name = default_style, options = {})
return nil if @instance.new_record?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trailing whitespace detected.

@maclover7
Copy link
Contributor

Hi @byterussian ! Can you edit your tests to make sure everything is passing? Thanks!

@maclover7 maclover7 mentioned this pull request Mar 11, 2015
@@ -75,7 +75,7 @@

it "handles a boolean second argument to #url" do
mock_url_generator_builder = MockUrlGeneratorBuilder.new
attachment = Paperclip::Attachment.new(:name, :instance, url_generator: mock_url_generator_builder)
attachment = Paperclip::Attachment.new(:name, MockModel.new, url_generator: mock_url_generator_builder)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [107/80]

attachment = Paperclip::Attachment.new(:name, :instance, url_generator: mock_url_generator_builder)
attachment = Paperclip::Attachment.new(:name,
MockModel.new,
url_generator: mock_url_generator_builder)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [85/80]

@roccogalluzzo
Copy link
Contributor Author

Hi @maclover7, now all the tests pass.

@jyurek
Copy link

jyurek commented Mar 13, 2015

@byterussian If you could squash these commits together, I'll gladly pull this in. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants