Sha256: 3df5ff345272c38a10439d20869a5bdf09c13c424db435a079b5fd218c79c375
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
RSpec.describe Aldous::Controller do before do class ExampleController include Aldous::Controller end end describe "::controller_actions" do before do ExampleController.controller_actions(:hello, :world) end context "a controller instance" do let(:controller) {ExampleController.new} it "responds to :hello" do expect(controller).to respond_to :hello end it "responds to :world" do expect(controller).to respond_to :world end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
aldous-1.1.3 | spec/aldous/controller_spec.rb |
aldous-1.1.2 | spec/aldous/controller_spec.rb |
aldous-1.0.1 | spec/aldous/controller_spec.rb |
aldous-1.0.0 | spec/aldous/controller_spec.rb |