Sha256: f23823f9bf1cfd28211203296f94b46aa51733e2b7b52d5ab87a77049ced2e84
Contents?: true
Size: 653 Bytes
Versions: 13
Compression:
Stored size: 653 Bytes
Contents
require 'spec_helper' # Tests Rails app mounted by the command `jax server`. See Jax::Rails::Application. # The app does nothing except mount Jax::Engine at "/". describe "Jax::Rails::Application" do def app Jax::Rails::Application end it "should mount Jax dev suite at root" do get '/' follow_redirect! if last_response.redirect? last_response.should be_ok last_response.body.should match(/Jax Development Suite/) end it "should include Jax spec helpers in jasmine" do get '/jasmine' last_response.should be_ok last_response.body.should match(/src="\/spec\/jax_spec_environment_helper\.js"/) end end
Version data entries
13 entries across 13 versions & 1 rubygems