lib/carrierwave/test/matchers.rb in carrierwave-0.2.0 vs lib/carrierwave/test/matchers.rb in carrierwave-0.2.1
- old
+ new
@@ -5,11 +5,11 @@
# These are some matchers that can be used in RSpec specs, to simplify the testing
# of uploaders.
#
module Matchers
- class BeIdenticalTo
+ class BeIdenticalTo # :nodoc:
def initialize(expected)
@expected = expected
end
def matches?(actual)
@actual = actual
@@ -25,11 +25,11 @@
def be_identical_to(expected)
BeIdenticalTo.new(expected)
end
- class HavePermissions
+ class HavePermissions # :nodoc:
def initialize(expected)
@expected = expected
end
def matches?(actual)
@@ -49,11 +49,11 @@
def have_permissions(expected)
HavePermissions.new(expected)
end
- class BeNoLargerThan
+ class BeNoLargerThan # :nodoc:
def initialize(width, height)
@width, @height = width, height
end
def matches?(actual)
@@ -77,10 +77,10 @@
def be_no_larger_than(width, height)
BeNoLargerThan.new(width, height)
end
- class HaveDimensions
+ class HaveDimensions # :nodoc:
def initialize(width, height)
@width, @height = width, height
end
def matches?(actual)
\ No newline at end of file