Sha256: 9db81320fd00db137ca2f450e3d9dc8d6a570d397fdc89222f9f2f5036b615cd

Contents?: true

Size: 211 Bytes

Versions: 5

Compression:

Stored size: 211 Bytes

Contents

require 'helper'

class PostsControllerTest < ActionController::TestCase
  def test_show
    get :show, params: { id: 1 }

    expected = "<p>\n  Hello!\n</p>"
    assert_equal expected, response.body
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
detaso-oprah-0.3.1 test/controllers/posts_controller_test.rb
detaso-oprah-0.3.0 test/controllers/posts_controller_test.rb
oprah-0.3.0 test/controllers/posts_controller_test.rb
oprah-0.2.1 test/controllers/posts_controller_test.rb
oprah-0.2.0 test/controllers/posts_controller_test.rb