* Refactor Export to take an account and know about the export types * Use Export instance in settings/exports#show
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			289 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			289 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
require 'rails_helper'
 | 
						|
 | 
						|
describe Settings::ExportsController do
 | 
						|
  render_views
 | 
						|
 | 
						|
  before do
 | 
						|
    sign_in Fabricate(:user), scope: :user
 | 
						|
  end
 | 
						|
 | 
						|
  describe 'GET #show' do
 | 
						|
    it 'returns http success' do
 | 
						|
      get :show
 | 
						|
 | 
						|
      expect(response).to have_http_status(:success)
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |