diffs_controller_spec.rb revision 97af921a43ee62e760f2ea3cfafb6a2bea0414fb
require 'spec_helper'
before do
end
it { should respond_with :success }
end
end
before { sign_in other_user }
it { should respond_with :success }
end
end
it { should respond_with :success }
end
end
end
before do
repository.access = 'private_rw'
end
it { should respond_with :success }
end
end
before { sign_in other_user }
it { should respond_with :found }
it { should redirect_to root_path }
end
end
it { should respond_with :found }
it { should redirect_to root_path }
end
end
end
end