mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
8 lines
346 B
Ruby
8 lines
346 B
Ruby
require File.expand_path('../spec_helper.rb', __FILE__)
|
|
|
|
describe Rack::Protection::JsonCsrf do
|
|
it_behaves_like "any rack application"
|
|
it "denies get requests with json responses with a remote referrer"
|
|
it "accepts get requests with json responses with a local referrer"
|
|
it "accepts get requests with json responses with no referrer"
|
|
end
|