+1, interested in the solution as well. We have the same issue with
controller specs/Shoulda, e.g.:
describe 'GET google_apps (with invalid credentials)' do
before do
...
get :google_apps
end
it { should respond_with(:ok) }
it { should render_template("sessions/new
On Wed, Dec 22, 2010 at 12:58 PM, Daryn wrote:
> Hi,
>
> I was using WebRat and I had view specs that looked like this:
>
> describe "expenses/new.html.erb" do
> it "displays 'New Expense'" do
> render
> rendered.should include("New Expense")
> end
> end
>
> I am now using Capybara and you
On 5/23/08, Mark Dodwell <[EMAIL PROTECTED]> wrote:
> Do RSpec stories make view specs redundant? Does anybody spec their
> views *and* use stories, and if so how?
>
> Any views (no pun intended) appreciated.
Our team has been talking a lot about this subject recently as we made
a decision at th
On Fri, May 23, 2008 at 12:58 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On May 23, 2008, at 2:54 PM, Pat Maddox wrote:
>
>> On Fri, May 23, 2008 at 12:34 PM, Mark Dodwell <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Thanks for the comments.
>>>
>>> This might be more obvious, but what about rails i
On 23 May 2008, at 20:48, David Chelimsky wrote:
RailsStory (in RSpec) wraps rails integration tests. So not only
redundant, but the same thing and repetitive all at the same deja-vu-
all-over-again moment!
Is there a Don't Deja-vu Yourself principle we should be following? :)
--
http://ww
On May 23, 2008, at 2:54 PM, Pat Maddox wrote:
On Fri, May 23, 2008 at 12:34 PM, Mark Dodwell <[EMAIL PROTECTED]
forum.com> wrote:
Thanks for the comments.
This might be more obvious, but what about rails integration tests --
presumably RSpec stories make these redundant for sure?
Yeah, stor
On May 23, 2008, at 2:34 PM, Mark Dodwell wrote:
Thanks for the comments.
This might be more obvious, but what about rails integration tests --
presumably RSpec stories make these redundant for sure?
RailsStory (in RSpec) wraps rails integration tests. So not only
redundant, but the same t
On Fri, May 23, 2008 at 12:34 PM, Mark Dodwell <[EMAIL PROTECTED]> wrote:
> Thanks for the comments.
>
> This might be more obvious, but what about rails integration tests --
> presumably RSpec stories make these redundant for sure?
Yeah, stories can serve the same role as integration tests.
Pat
Thanks for the comments.
This might be more obvious, but what about rails integration tests --
presumably RSpec stories make these redundant for sure?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
htt
On 23 May 2008, at 19:27, Pat Maddox wrote:
Not necessarily. You might test one or two paths through stories, and
unit test remaining branches in your views.
I'll go with this. I stopped writing view specs but I can see you
could get in a situation where you have more permutations in a vi
On 5/23/08, Mark Dodwell <[EMAIL PROTECTED]> wrote:
> Do RSpec stories make view specs redundant? Does anybody spec their
> views *and* use stories, and if so how?
>
> Any views (no pun intended) appreciated.
>
> ~ Thanks
>
> Mark
> --
> Posted via http://www.ruby-forum.com/.
>
Mark Dodwell wrote:
> Do RSpec stories make view specs redundant?
Sorry I should clarify that I'm talking about Rails view specs
specifically here.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http:
12 matches
Mail list logo