Skip to content

Commit

Permalink
Make specs green. Not exactly sure what caused this.
Browse files Browse the repository at this point in the history
/cc @irrationalfab
  • Loading branch information
alloy committed Sep 20, 2013
1 parent 5d57c45 commit faa9df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/specification/linter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def message_should_include(*values)
#------------------#

it "checks the version is higher than 0" do
@spec.version = nil
@spec.stubs(:version).returns(Pod::Version.new('0'))
message_should_include('version', '0')
end

Expand Down

3 comments on commit faa9df4

@fabiopelosin
Copy link
Member

Choose a reason for hiding this comment

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

Me neither, does it still generates an if the version has not been specified?

@alloy
Copy link
Member Author

@alloy alloy commented on faa9df4 Sep 20, 2013

Choose a reason for hiding this comment

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

For some reason it keeps defaulting to a Pod::Version instance with its value set to 1.0.

@fabiopelosin
Copy link
Member

Choose a reason for hiding this comment

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

Ouch, I will take at look a this later if I will have enough time.

Please sign in to comment.