[ Launch: Tributary inlet ] 6130176 by tarvaina
[ Launch: Text alignment practice ] 6129825 by tarvaina
[ Launch: Tributary inlet ] 6129488 by tarvaina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rack/request' | |
| require 'rack/response' | |
| module Anttis | |
| class Flipper | |
| def initialize(app) | |
| @app = app | |
| end | |
| def call(env) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| def mock_poem(stubs={}) | |
| @mock_poem ||= mock_model(Poem, stubs) | |
| end | |
| describe PoemsController do | |
| when_it "responds to GET index" do | |
| get :index | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | |
| def mock_poem(stubs={}) | |
| @mock_poem ||= mock_model(Poem, stubs) | |
| end | |
| describe PoemsController do | |
| when_it "responds to GET index" do | |
| get :index | |
| end |
NewerOlder