Sha256: c71b06b1f2d9cac2ee32b44f2d784dcafe0ea1c4a837aebfe10d364cb3710e75

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

class ApplicationController < ActionController::Base
end

class MyController < ApplicationController
end

describe Respondie do

  it "should enhance ActionController with its cute method" do
    MyController.should respond_to(:use_trait)
  end

  it "should enhance ActionController with its cute plural method" do
    MyController.should respond_to(:use_traits)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
respondie-0.9.0 spec/respondie_spec.rb