Sha256: 56d5363a898f72c9aef053d0fe36948587ee16961ae9f46ef92244a703f42a2d
Contents?: true
Size: 588 Bytes
Versions: 21
Compression:
Stored size: 588 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/../../unit_spec_helper") module JsTestCore module Resources describe ImplementationsDeprecation do describe "GET /implementations/*" do it "responds with a 301 to /javascripts/*" do response = get(ImplementationsDeprecation.path("/subdir/bar.js")) response.should be_http( 301, {'Location' => File.path("/javascripts/subdir/bar.js")}, "This page has been moved to #{File.path("/javascripts/subdir/bar.js")}" ) end end end end end
Version data entries
21 entries across 21 versions & 6 rubygems
Version | Path |
---|---|
screw-unit-0.5.2 | vendor/js-test-core/spec/unit/js_test_core/resources/implementations_deprecation_spec.rb |