On Mon, Apr 4, 2011 at 1:24 AM, andyl wrote:
> I am using rspec/aruba to do integration tests of a command-line program
> i'm writing.
>
> ...
>
> Alternatively, I could write a local web service that delivers fake
> results.
>
>
I like the idea of this for end-to-end tests, depending on the com
Matt S. wrote in post #991032:
>> In similar view specs, I've stubbed #owner_attributes= on the 'assets'
>> mock. I think Rails' nested form/assignment implementation does a
>> check on the existence of this method to make sure that the Asset
>> model does indeed accept nested assignment for that a
I had a similar issue recently. If you are using bundler and only specify
rspec-rails to load in the :test environment, i.e. not in the :development
environment, when you run rake rspec you will get no output. You must
specify rspec-rails in :test AND :development (it doesn' t load the whole
Chris Mear wrote in post #990804:
> On 4 April 2011 02:00, Matt S. wrote:
>> let(:owner) { mock_model("Owner").as_new_record.as_null_object }
>> assert_select "input#asset_name", :name => "asset[name]" # passes
>> <%= f.label :name %>
>>
>> <%= f.submit %>
>>
>> <% end %>
>
> In similar view
I am using rspec/aruba to do integration tests of a command-line program i'm
writing.
I'd like to use something like FakeWeb to stub the network calls in the
command-line program.
But with aruba, the program under test runs in a separate process, and
FakeWeb won't work.
I'm thinking of adding
The other day my child wanted to make a project. As a Dad it was my duty
to help him out in his project. But when he told me the topic, I was so
moved by it, http://www.samrx.com/buy-kamagra-oral-jelly.aspx because
your name popped in my mind immediately and within no time the project
could be com