not sure that one should be constrained to apply them
to conduct tests.
What do others think?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley D
On: Mon, 6 Apr 2009 09:36:50 -0700, Mark Wilden
wrote:
> On Mon, Apr 6, 2009 at 8:02 AM, James B. Byrne
> wrote:
>>
>> ?Given user "myuser" is authenticated
>> ?When they visit the registration page
>> ? And they provide all required registration data
ts that the client needs to approve. Yet, it
still provides flexibility on how meeting the requirements are
implemented and tested, without breaking the scenario clauses.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte &
inherit the necessary characteristics
from the module that I am testing?
I would appreciate guidance here.
Sincerely,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & Lyne Limited http://www.hart
t that testing a string normalization feature
might be done somewhere/someway else but I am learning RSpec/Cucumber and
for now am taking that single minded approach to testing. On the other
hand, I am not adverse to suggestions on how this might be best handled.
Guidance Please?
--
***
On Thu, November 13, 2008 14:59, James B. Byrne wrote:
>
> So, as far as I can make out, given the webrat API specifies that a
> label is an acceptable target, this should work. But it evidently
> does not. Is this a webrat problem then?
It seems as if I have run into two sep
On Thu, November 13, 2008 14:41, James B. Byrne wrote:
>
> So, as far as I can make out, given the webrat API specifies that a label
> is an acceptable target, this should work. But it evidently does not. Is
> this a webrat problem then?
>
Does anyone know why webrat does
On Thu, November 13, 2008 14:02, James B. Byrne wrote:
>
> What is the correct syntax to test selecting from a range of values
> present in an input box? ...
The webrat API specifies this:
selects(option_text, options = {})
Verifies that a an option element exists on the current
use I certainly have not written one for it. I so,. should not all of
the input methods do likewise?
Guidance will be greatly appreciated.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.ha
On Thu, November 13, 2008 11:51, James B. Byrne wrote:
> So, evidently I need some other specification to check the validity of the
> action with respect to the web page displayed. Can some one give me a
> hint as to what "I should see "X" should actually say? Shoul
Here is the scenario:
Scenario: Create a new entity row
Given I am on the new entity page
When I fill in a textbox labelled "Common Name" with "My New Entity"
And I fill in a textbox labelled "Full Legal Name:" with "My New
Enitity is a CORP"
And I select from a listbox labelled
this problem anyway.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561
(1.7ms) SELECT version FROM schema_migrations
I really could use from help from someone who can explain this behaviour.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte
On Wed, November 12, 2008 12:27, James B. Byrne wrote:
>
> The features test now shows this:
>
> $ rake features
...
> Scenario: Register a new entity #
> features/manage_entities.feature:7
> Given I am o
en.com
On: Wed Nov 12 12:46:54 EST 2008, Mark Wilden mark at mwild wrote:
> On Wed, Nov 12, 2008 at 9:27 AM, James B. Byrne lyne.ca> wrote:
>
>> Feature: Manage entities # features/manage_entities.feature
>>
>
> This is just a side note, but is "manage entitie
nd working ) code?
# steps/entity_steps.rb
Given /I am on the new entity page/ do
visits "/entities/new"
end
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-
on I am required to do to wire this up
correctly or am I missing the boat on this altogether? If there are
additional set-up steps that I must perform then where to I discover them?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL
* E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario
canonical method of installing rspec and all dependences for use
with cucumber. Are the gems gone, or simply unnecessary? Are the
cucumber instructions out of date?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte &
h also had to be installed as a plugin. Has this
situation been altered, are gems alone now sufficient?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Broc
this list after Tue Nov 11 09:36:03
EST 2008, including my own previous message. Is the list down or are the
archives generated only periodically?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited ht
On Fri, June 13, 2008 13:13, James B. Byrne wrote:
> ON: Fri, 13 Jun 2008 11:47:22 -0500, David Chelimsky <[EMAIL PROTECTED]>
> wrote:
>>
>> For some reason rails is not finding rspec in vendor/plugins. Don't
>> know why.
>
> Has Rails 2.1.0 changed the l
f both are available?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905
CII; format=flowed; delsp=yes
>
> On Jun 13, 2008, at 11:27 AM, James B. Byrne wrote:
>
>> Here is the problem. If RSpec gem is installed then I get the
>> rspec-rails / rspec version mismatch. If I remove the RSpec gem
>> then the rake tasks will not run.
>
> For s
ec version mismatch. If I remove the RSpec gem then the rake tasks will
not run.
Suggestions welcome.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://ww
/labs/08_rspec_rails/prag_hotel)
rake aborted!
no such file to load -- spec/rake/spectask
C:/temp/labs/08_rspec_rails/prag_hotel/rakefile:10
(See full trace by running task with --trace)
So, can anybody tell me if Rspec even runs on Windows any more?
--
*** E-Mail is NOT a SECURE cha
ils as well, as a submodule:
$ git-submodule add git://github.com/rails/rails.git vendor/rails
$ git-submodule init
$ git-commit
$ git-push
Once you do this you can locally checkout any version or branch that is
available in the submodule.
Regards,
--
*** E-Mail is NOT a SECUR
value = value.to_s.strip.squeeze(" ").downcase.gsub(/\b\w/){$&.upcase}
end
end
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive
the fact that it is completely stateless, producing no
side effects to its returned result.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox:
eps_for :login, :client_active, :new_jobs_steps do
run './new_job.txt'
end
<---
Can someone show me how they would wire this together? and with what
directories and file names that they would use? I am having a deal of
trouble getting my head wrapped around this approach.
--
***
what to call the receiver. I would like to do this globally without
having to modify spectask.rb locally.
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Broc
On Sat, November 24, 2007 23:24, James B. Byrne wrote:
>
>
> Anyhow, This is the code that is causing rake to whine at me. So where
> does fail_on_error get set? Is this a configurable option?
>
This entire issue is discussed at length here:
http://rubyforge.org/pipermail/rspec-
On Sat, November 24, 2007 23:15, James B. Byrne wrote:
> I do not care about the presence or absence of a trace. What I want to
> know is why I get a rake failure if one of the specs fail. Surely a
> specification failure is an expected outcome for at last some of the
> trials.
c/spec.opts" failed
(See full trace by running task with --trace)
<---
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Ham
On Sat, November 24, 2007 20:48, James B. Byrne wrote:
>
> The problem was that I left out a column from the product migration that I
> referred to in the spec.
>
Sorry, but I need to revisit this again. If the specs pass then I get no
rake error. If one spec fails then after the
On Sat, November 24, 2007 19:48, James B. Byrne wrote:
> What I would like to know now is why I am getting a rake failure error at
> the end of every spec:models run. Is this the expected behaviour when a
> test / expectation fails?
Sorry about my delay in replying. I am a digest s
lp # works better
Thanks,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1
ocal/bin/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/
rake.rb:1708:in `run'
C:/usr/local/bin/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
C:/usr/local/bin/ruby/bin/rake.bat:20:in `load'
C:/usr/local/bin/ruby/bin/rake.bat:20
C:\var\RSpec\depot>
<---
On Sat, November 24, 2007 18:12, James B. Byrne wrote:
>
> Where can I find a list of the options and their usage and meanings for
> the contents of this file?
>
From here I guess...
./vendor/plugins/rspec/lib/spec/runner/option_parser.rb
--
*** E-Mail is NOT a SE
Where can I find a list of the options and their usage and meanings for
the contents of this file?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley D
On Fri, November 23, 2007 23:24, David Chelimsky wrote:
>
> That's a bug. Please report bugs to http://rspec.lighthouseapp.com/.
Your bug sir:
Ticket #139
James B. Byrne
version.rb in trunk missing svn last changed number
Regards,
--
*** E-Mail is NOT a SEC
On Fri, November 23, 2007 23:08, James B. Byrne wrote:
> I found this message:
>
> Now, the version.rb that is loaded from
> http://rspec.rubyforge.org/svn/trunk/rspec
> has only this:
>
> --->
> module Spec
> module VERSION
> unless defined? MAJOR
>
ts in the REV = string. Is
this the source (sink) of the [] nil object?
Regards,
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 5
uot;REL_#{[MAJOR, MINOR, TINY,
RELEASE_CANDIDATE].compact.join('_')}".upcase.gsub(/\.|-/, '_')
FULL_VERSION = "#{[MAJOR, MINOR, TINY,
RELEASE_CANDIDATE].compact.join('.')} (r#{REV})"
NAME = "RSpec"
URL= "http://rspe
running rake db:migrate.
>
> HTH,
> David
>
>
I have this working now but I had to install the win32console gem and I
had to remove and reinstall postgresql 8.2.5, removing the text search
module from the default schema.
Many thanks.
Regards,
--
*** E-Mail is NOT a SECURE
r/plugins/rspec/
README' vendor/plugins/rspec/README
README:
Generating HTML...
Files: 1
Classes: 0
Modules: 0
Methods: 0
Elapsed: 0.313s
??
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrnemailto:[EMAIL PROTECTED]
:7
C:/usr/local/bin/ruby/bin/rake.bat:20:in `load'
C:/usr/local/bin/ruby/bin/rake.bat:20
C:\Documents and Settings\byrnejb\My Documents\My
Projects\ca.harte-lyne.system\pragdepot>
Have I missed some critical setup item? Running rake spec:models gives the
same results. I get this e
in/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
C:/usr/local/bin/ruby/bin/rake.bat:20:in `load'
C:/usr/local/bin/ruby/bin/rake.bat:20
C:\Documents and Settings\byrnejb\My Documents\My
Projects\ca.harte-lyne.system\pragdepot>
Running rake spec:models gives the same results. I get this
48 matches
Mail list logo