Never mind sorry for the noise :) Guess I shouldn't have been working
so late at night ;)
I left out the it block!
On Dec 27, 8:39 pm, Jim Morris wrote:
> Hi, I have a working application_helper_spec.rb, and now I created a
> posts_helper_spec.rb in the spec/helpers directory.
>
> But it looks l
Hello,
I am experiencing an issue with RSpec2, while running RCov. In my Rakefile,
I have a task defined like this:
namespace :test do
desc "Run all specs."
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/**/*_spec.rb'
t.verbose = false
end
R
On Tue, Dec 28, 2010 at 3:01 PM, Tiago Fernandez
wrote:
> Hello,
> I am experiencing an issue with RSpec2, while running RCov. In my Rakefile,
> I have a task defined like this:
> namespace :test do
> desc "Run all specs."
> RSpec::Core::RakeTask.new(:spec) do |t|
> t.patte
Hi all,
What's the best way to implement performance enhancements from
the outside-in? For example, if I'm working test-free and I know I'm going
to be looking up my Shops by phone number often, I'll write a migration to
make phone_number an index of the shops table. What feature(s) and spec(s)
Hi all,
What's the best way to handle features which rely on an
external API in a behaviour-driven way? Suppose I have an app which manages
online ordering from several independent stores, with a cut taken from each
purchase, and I want to add a feature whereby orders made by phone that
were fa
Hi all,
Suppose I have a table that lists all of my products, that
includes a a somewhere in the first , and each product has its data held
within a . After updating a product's description, I want to write
something like:
within "tr#category#{category.id}" do
under_header
"Description" do
On Dec 29, 2010, at 1:14 AM, Shea Levy wrote:
> Hi all,
>
> Suppose I have a table that lists all of my products, that includes a a
> Description somewhere in the first , and each product has its
> data held within a . After updating a
> product's description, I want to write something like: