Sha256: 8f6a356dd60af515231e346d09bd8e0a7bf57195b7c11537accfe5179ba2de63

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

require 'spec_helper'

describe TestEngine::MemesController do

  describe "#index" do
    it "has the full mounted path of engine" do
      expect(Apipie.routes_for_action(TestEngine::MemesController, :index, {}).first[:path]).to eq("/test/memes")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
apipie-rails-1.4.2 spec/test_engine/memes_controller_spec.rb
apipie-rails-1.4.1 spec/test_engine/memes_controller_spec.rb