lib/airborne/request_expectations.rb in airborne-0.1.2 vs lib/airborne/request_expectations.rb in airborne-0.1.3
- old
+ new
@@ -209,10 +209,10 @@
end
# @param expected_size [Integer]
# @return [Proc]
def convert_expectation_for_json_sizes(expected_size)
- -> (data) { expect(data.size).to eq(expected_size) }
+ ->(data) { expect(data.size).to eq(expected_size) }
end
def is_property?(expectations)
[String, Regexp, Float, Fixnum, Bignum, TrueClass, FalseClass, NilClass].include?(expectations.class)
end