Sha256: b39fe62e95294853abf0d01106d7575a0fcb5920477bbd14dc27f1659861a14e

Contents?: true

Size: 358 Bytes

Versions: 2

Compression:

Stored size: 358 Bytes

Contents

require 'spec_helper'

describe "Posts" do
  describe "GET /posts" do

    context "since ApplicationController#acts_as_authentication_handler was NOT called" do

      # See est/dummy/app/controllers/posts_controller.rb

      it "does not require authentication" do
        get posts_path
        response.status.should be(200)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_token_authentication-1.0.0.pre.5 test/dummy/spec/requests/posts_spec.rb
simple_token_authentication-1.0.0.beta.5 test/dummy/spec/requests/posts_spec.rb