On Dec 8, 2010, at 11:22 PM, Michelle Pace wrote:
> Kristian Mandrup wrote in post #917121:
>> As of beta.4, you’ll have to do add this configuration manually. Just
>> create an autotest directory in the root of your project, put the
>> following statement in ./autotest/discover.rb:
>>
>> Autote
On Dec 9, 2010, at 6:19 AM, David Chelimsky wrote:
>
> On Dec 8, 2010, at 11:22 PM, Michelle Pace wrote:
>
>> Kristian Mandrup wrote in post #917121:
>>> As of beta.4, you’ll have to do add this configuration manually. Just
>>> create an autotest directory in the root of your project, put the
>
I'm running into this issue as well. Surely someone has a solution?
Seems to be Rails 3.0.3.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
I'm new to rspec, so, I might be coloring outside the lines, but,
there have been several instances where I have wanted to display a
comment or note.
for example:
describe "truck" do
it "should require model" do
end
end
rspec spec --format doc
truck
should require model
What I mean by di
Here is a simple example of the breaking code;
== CODE
describe "payments/new.html.haml" do
let(:payment) do
mock_model("Payment").as_new_record.as_null_object
end
before do
assign(:payment, payment)
end
it "renders a form to take payment details" do
render
On Thu, Dec 9, 2010 at 6:43 AM, Sid W. wrote:
> I'm running into this issue as well. Surely someone has a solution?
> Seems to be Rails 3.0.3.
Please be sure to quote relevant parts of the thread to provide
context for people who are reading on phones, etc, that don't make it
easy to see an entir
David Chelimsky wrote in post #967405:
> # autotest-4.4.6 (with ZenTest-4.4.1)
> autotest --style rspec2
Sorry David, truth be told I'm a ruby newbie working my way
through the new book "Continuous Testing with Ruby" so I'm a bit in the
dark here.
For what you mention above, where do I put these
On Dec 8, 2010, at 10:39 PM, rails.impaired wrote:
> I'm new to rspec, so, I might be coloring outside the lines, but,
> there have been several instances where I have wanted to display a
> comment or note.
>
> for example:
>
> describe "truck" do
> it "should require model" do
> end
> end
>
On Thu, Dec 9, 2010 at 7:08 AM, Michelle Pace wrote:
> David Chelimsky wrote in post #967405:
>> # autotest-4.4.6 (with ZenTest-4.4.1)
>> autotest --style rspec2
>
> Sorry David, truth be told I'm a ruby newbie working my way
> through the new book "Continuous Testing with Ruby" so I'm a bit in th
David Chelimsky wrote in post #967419:
>
> I'll try to get an rspec-rails-2.2.2 release out this weekend with
> this fix. In the mean time, you can point your Gemfile to the branch
> on github and get the fix right now:
>
> gem "rspec-rails", :git => "git://github.com/rspec/rspec-rails",
> :branch
Sid W. wrote in post #967432:
> gem 'rspec-rails', :git => 'git://github.com/rspec/rspec-rails'
Missing .git corrected but still no joy.
Sid W. wrote in post #967432:
> It appears that the fix you mention is in master not 2-2-maintenance.
> Due to RSpec 2.3 dependancies I've added the following t
David Chelimsky wrote in post #967419:
> This is a regression that was introduced by an enhancement in
> rspec-mocks-2.2. It has been reported, identified, and fixed, but not
> yet released:
>
> https://github.com/rspec/rspec-rails/issues/closed#issue/266
>
> I'll try to get an rspec-rails-2.2.2 re
On Dec 9, 2010, at 8:57 AM, Sid W. wrote:
> David Chelimsky wrote in post #967419:
>> This is a regression that was introduced by an enhancement in
>> rspec-mocks-2.2. It has been reported, identified, and fixed, but not
>> yet released:
>>
>> https://github.com/rspec/rspec-rails/issues/closed#is
Hi all,
This is probably a stupid question, but I can't figure out how to do
this.
If I have some routes which require SSL, how do I test that with
RSpec? For example:
# routes.rb
scope :constraints => { :protocol => "https" } do
match '/foos.(:format)' => 'foos#index', :via => :get, :cons
Hi David, sorry still no coconut. I should have explained myself better,
I actually need to run the "autospec" command as the book says:
"Thankfully, RSpec comes with a small script named autospec that
reconfigures autotest to run specs instead, so try that..."
So in the below I tried using your "
On Thu, Dec 9, 2010 at 7:58 PM, Michelle Pace wrote:
> Hi David, sorry still no coconut. I should have explained myself better,
> I actually need to run the "autospec" command as the book says:
> "Thankfully, RSpec comes with a small script named autospec that
> reconfigures autotest to run specs
Thanks (again) Dave for your reply and the time you've taken.
However I think I must be really bad at explaining myself... so I've
drawn a picture for you which to show my problem. [One of the
requirements in the book is that I have to have ZenTest installed.]
http://michellepace.com/pics/autospe
17 matches
Mail list logo