Sha256: 3a73ea7748262dc9992caa5567c123932481d7839a98d074228a46ccdd5ffd83
Contents?: true
Size: 328 Bytes
Versions: 10
Compression:
Stored size: 328 Bytes
Contents
require 'rails_helper' # Basic middleware integration test to ensure Rack::JSONP continues to do its job feature "JSONP API results" do scenario "User requests events.json with a JSONP callback specified" do visit "/events.json?callback=myFunction" expect(page).to have_content /^(?:\/\*\*\/)?myFunction\(/ end end
Version data entries
10 entries across 10 versions & 2 rubygems