Sha256: f2be82bc2e3a309805bcd2623d4d3dfdcd0eee812cdf47faf1d7630f7c55dee7
Contents?: true
Size: 519 Bytes
Versions: 60
Compression:
Stored size: 519 Bytes
Contents
require File.join(File.dirname(__FILE__), "..", "spec_helper") describe Redcar::Application do it "has a name" do Redcar::Application::NAME.should_not be_nil end it "has a default instance" do Redcar.app.is_a? Redcar::Application end describe "instance" do before do @app = Redcar::Application.new @app.controller = RedcarSpec::ApplicationController.new end it "creates a new window" do @app.new_window @app.windows.length.should == 1 end end end
Version data entries
60 entries across 60 versions & 2 rubygems