test/unit/versioned_request_test.rb in versioncake-1.1.0 vs test/unit/versioned_request_test.rb in versioncake-1.2.0
- old
+ new
@@ -29,10 +29,10 @@
end
test "has a method to determine if requesting the latest version" do
VersionCake::VersionedRequest.any_instance.stubs(:apply_strategies => nil)
versioned_request = VersionCake::VersionedRequest.new(stub())
- assert_true versioned_request.is_latest_version
+ assert versioned_request.is_latest_version
end
test "has a method to retrieve the extracted version" do
VersionCake::VersionedRequest.any_instance.stubs(:apply_strategies => nil)
versioned_request = VersionCake::VersionedRequest.new(stub())