Почему в мире это занимает 20 секунд?Он почти ничего не делает ...
Я использую Rails 3.0.7
FactoryGirl.define do
factory :user do
factory :admin_one do
initial_business_name "Spa"
email "mac@test.com"
subdomain "test"
end
end
end
require 'spec_helper'
describe StaffMembersController do
before (:each) do
@user = Factory(:admin_one)
end
shared_examples_for "index vars" do
it "sets @new_vacation" do
end
it "assigns @all_services" do
end
it "assigns @has_hit_staff_limit" do
end
end
describe "GET index" do
it_behaves_like "index vars"
end
end
Finished in 20.86 seconds
3 examples, 0 failures