mirror of
				https://github.com/fspc/bike-database.git
				synced 2025-11-04 00:55:35 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			293 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			293 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
require 'spec_helper'
 | 
						|
 | 
						|
describe "bikes/index" do
 | 
						|
  before(:each) do
 | 
						|
    assign(:bikes, [
 | 
						|
      stub_model(Bike),
 | 
						|
      stub_model(Bike)
 | 
						|
    ])
 | 
						|
  end
 | 
						|
 | 
						|
  it "renders a list of bikes" do
 | 
						|
    render
 | 
						|
    # Run the generator again with the --webrat flag if you want to use webrat matchers
 | 
						|
  end
 | 
						|
end
 |