Sha256: ca415de37286cc7a6e929cd2ed853e9ccfaa9a97b52e1e06a0210fc779887e02

Contents?: true

Size: 414 Bytes

Versions: 5

Compression:

Stored size: 414 Bytes

Contents

require 'spec_helper'

describe ApplicationController do
  # sanity check to make sure I haven't added methods and forgot to tell Rails they're not actions
  it "should have only 'not_found' action" do
    ApplicationController.action_methods.to_a.should == ["not_found"]
  end
  
#  it "should respond_to current_user" do
#    Auth.kick!
#    ApplicationController.new.should respond_to(:current_user)
#  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sparkly-auth-1.2.1 spec/controllers/application_controller_spec.rb
sparkly-auth-1.1.0 spec/controllers/application_controller_spec.rb
sparkly-auth-1.0.2 spec/controllers/application_controller_spec.rb
sparkly-auth-1.0.1 spec/controllers/application_controller_spec.rb
sparkly-auth-1.0.0 spec/controllers/application_controller_spec.rb