> Here's an example of my first test, but I'm wondering how I setup the
> login routine so I can use it in future specs without repeating the
> method. Some sort of - before.each (:login)
You can use shared examples...
shared_examples_for "any page requiring authentication" do
fill_in :l
On Fri, Jul 22, 2011 at 1:50 PM, internetchris wrote:
> Hi Group,
>
> I'm finally taking the time to implement tests in some of my old apps.
> I'm using Rails 2.3.5, Rspec 1.3.1, Rspec-rails 1.3.3, and capybara.
>
> Here's an example of my first test, but I'm wondering how I setup the
> login rou
Hi Group,
I'm finally taking the time to implement tests in some of my old apps.
I'm using Rails 2.3.5, Rspec 1.3.1, Rspec-rails 1.3.3, and capybara.
Here's an example of my first test, but I'm wondering how I setup the
login routine so I can use it in future specs without repeating the
method. S
On Jul 25, 2011, at 3:38 PM, James Cox wrote:
> Hey,
>
> Has anyone used rspec and lion much yet?
>
> I'm using the Fuubar instafail formatter, and finding that the entire
> output of the spec run is buffered till the script execution stops, at
> which point it's displayed. Not sure why - it may
Guys, I'm trying to do something a little exotic here, using RSpec to test
Objective-C code through MacRuby.
I mean the major problems I already solved (how to load Objective-C into
ruby, install rspec for native macruby...), but in this case I just can't
use the "spec" command, because the ruby co
Hey,
Has anyone used rspec and lion much yet?
I'm using the Fuubar instafail formatter, and finding that the entire
output of the spec run is buffered till the script execution stops, at
which point it's displayed. Not sure why - it may be a failure/feature
of the new Terminal.app ?
Wondered if
OMG, I don't believe that I forget that. Thank you so much Justin.
Att,
Pablo
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Jul 25, 2011, at 10:59 AM, Pablo L. de Miranda wrote:
> Justin,
>
> Bellow is my directory tree for spec:
>
> |-- spec
> | |-- controllers
> | | `-- site_controller_spec.rb
> | |-- factories.rb
> | |-- fixtures
> | | `-- avatar.jpg
> | |-- helpers
> | | |-- profile_helper_
On Mon, Jul 25, 2011 at 9:59 AM, Pablo L. de Miranda <
pablolmira...@gmail.com> wrote:
> Justin,
>
> Bellow is my directory tree for spec:
>
> |-- spec
> | |-- controllers
> | | `-- site_controller_spec.rb
> | |-- factories.rb
> | |-- fixtures
> | | `-- avatar.jpg
> | |-- helpers
>
Justin,
Bellow is my directory tree for spec:
|-- spec
| |-- controllers
| | `-- site_controller_spec.rb
| |-- factories.rb
| |-- fixtures
| | `-- avatar.jpg
| |-- helpers
| | |-- profile_helper_spec.rb
| | |-- site_helper_spec.rb
| | `-- task_list_helper_spec.rb
| |
On Mon, Jul 25, 2011 at 9:03 AM, Pablo L. de Miranda <
pablolmira...@gmail.com> wrote:
> Hi Justin,
>
> I'm using RSpec 2.6.0, RSpec-Rails 2.6.1, Capybara 1.0.0 and Rails 3.0.7.
>
> Att,
>
> Pablo
> ___
> rspec-users mailing list
> rspec-users@rubyforge.
Hi Justin,
I'm using RSpec 2.6.0, RSpec-Rails 2.6.1, Capybara 1.0.0 and Rails 3.0.7.
Att,
Pablo
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Mon, Jul 25, 2011 at 8:16 AM, Pablo L. de Miranda <
pablolmira...@gmail.com> wrote:
> Hi guys,
>
> I'm using RSpec with Capybara, and for that I created the
> spec/integration folder. But when I execute the command "bundle exec
> rspec spec" RSpec don't execute my files on integration folder. I
Hi guys,
I'm using RSpec with Capybara, and for that I created the
spec/integration folder. But when I execute the command "bundle exec
rspec spec" RSpec don't execute my files on integration folder. I need
to pass each file to solve this problem.
Do you known how I can put the integration folder
14 matches
Mail list logo