Sha256: cd0cf910bf7356189371f1e5cd435b741322aa3d4adde5e2d6d111719fac9086

Contents?: true

Size: 772 Bytes

Versions: 4

Compression:

Stored size: 772 Bytes

Contents

require 'rails_helper'

module MnoEnterprise
  describe OrgInvitesController, type: :controller do
    render_views
    routes { MnoEnterprise::Engine.routes }
  
    let(:user) { build(:user) }
    #before { api_stub_for(get: "/users/#{user.id}", response: from_api(user)) }
    #before { api_stub_for(put: "/users/#{user.id}", response: from_api(user)) }
  
    describe "GET #show" do
      before { sign_in user }
      subject { get :show }
      
      # it_behaves_like "a navigatable protected user action"
      #
      # it "assigns the right meta information" do
      #   get :myspace
      #   meta = {}
      #   meta[:title] = "Dashboard"
      #   meta[:description] = "Dashboard"
      #   assigns(:meta).should == meta
      # end
    end
  
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mno-enterprise-api-3.0.1 spec/controllers/mno_enterprise/org_invites_controller_spec.rb
mno-enterprise-api-2.0.1 spec/controllers/mno_enterprise/org_invites_controller_spec.rb
mno-enterprise-api-3.0.0 spec/controllers/mno_enterprise/org_invites_controller_spec.rb
mno-enterprise-api-2.0.0 spec/controllers/mno_enterprise/org_invites_controller_spec.rb