have no glue how to get rid of the "special characters". Since I am
> new to rails I appreciate any help or suggestions.
Remove --color / --colour option from project .rspec file (or
rspec.opts file, don't remember the name)
--
Luis Lavena
AREA 17
-
Perfection in design is achiev
2
gems on your next release to be >= 1.8.7, that way will block the
installation of the gems reducing the potential bug reports due 1.8.6
behavior.
Regards,
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when
the following?
Outside any directory of any of the downloaded gems where put, please try:
gem install rspec
That single command should connect to rubygems.org, download latest
information, find the gems, download *and* install them for you.
--
Luis Lavena
AREA 17
-
Perfection in design is achi
c/versions/2.0.0
rspec-mocks = 2.0.0
rspec-expectations = 2.0.0
rspec-core = 2.0.0
Inside rspec-core is rspec command.
Also, since you're using Ubuntu, you need to have
/var/lib/gems/1.8/bin added to the PATH.
Please check the above and let us know.
--
Luis Lavena
AREA 17
-
Perfection in design i
nk this warrants a major (3.0)
> release, or would it be an acceptable exception to the rule (assuming proper
> fanfare and documentation)?
>
IMHO this case is a exception to the rule that we can live with.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is noth
{ $redis.flushall }
Just to ensure integrity and no leftover from my previous test.
Will be great if you can show a little bit about your specs (exact
spec code) and configuration so we can try replicate. Sometimes the
error is there, but hidden somewhere else.
--
Luis Lavena
AREA 17
-
Perfectio
lity?
File.expand_path("~")
That could trigger the issue. expand_path on 1.8.x depends on HOME
been defined. Ruby 1.9 already workaround that properly checking for
HOMEDRIVE+HOMEPATH, USERPROFILE and HOME
You can avoid that setting HOME to HOMEDRIVE+HOMEPATH:
SET HOME=%HOMEDRIVE%%HOMEPATH
ow
> returns with "Nothing to update". How do I go about updating my "gemfile
> definitions"?
>
You're using Bundler, bundler needs a "manifest" of gems and versions
that your application use. Look for "Gemfile" in the root of your
application.
M
(~> 2.1.0, runtime)' in any of the gem sources
> listed in your Gemfile.
The error is there, did you update your Gemfile definitions to the
latest version and run bundle update rpsec or bundle update
rspec-rails?
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is
On Sat, Dec 11, 2010 at 2:33 PM, David Chelimsky wrote:
>
>
> One step ahead of you :)
> https://github.com/rspec/rspec-core/commit/dc1b0d53fde7505bb5769884e5c54b09b6886f89
>
I'm going to beat your speed record David, some day.. some day :-)
PS: Thank you :-D
--
at to detect discovery?
Just a suggestion to avoid these type of conversations ;-)
Here is Bacon approach, checking for .bacon file
https://github.com/chneukirchen/bacon/blob/master/lib/autotest/discover.rb
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more
application it will use sqlite3
by default, try to execute rake db:migrate and db:test:prepare there
and see if the error is reproducible.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
A
gt; or mysql) work would be greatly appreciated.
>
Hello,
To better understand what is going on with sqlite3 adapter will
require more details.
As for the mysql error, in your database.yml, just copy your
configuration from development section and rename the database to your
test one.
Ensure th
Any question or problems you have running Ruby on Windows
(RubyInstaller by preference), please don't hesitate to ask in
RubyInstaller group.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Anto
to stop using it and switched to Isolate and invoke commands
with "rake isolate:sh[autotest]"
As for autotest coloring issues, for the ones wondering, we
(RubyInstaller) are working on permanent ANSI coloring solutions for
those Windows users.
--
Luis Lavena
AREA 17
-
Perfection in des
On Wed, Jun 24, 2009 at 11:24 PM, Rick DeNatale wrote:
> On Wed, Jun 24, 2009 at 8:18 PM, Luis Lavena wrote:
>> On Wed, Jun 24, 2009 at 8:54 PM, Rick DeNatale
>> wrote:
>>> I just published a quick article showing how to use the patch I
>>> provided and David j
Tried to leave you this comment:
I have setup 'mr' as alias for multiruby, so I can do
mr -S rake spec
Which is going to produce the exact same results than your task
(without inject system calls for which).
Also, going with above example, this will work on Windows too, using Pik:
p
a book - now for some serious testing.
>
Awesome! Don't hesitate in let us know how everything works.
> Thank you for that,
> rick
Sure!
Cheers!
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is
wer here:
http://rubyforge.org/pipermail/rspec-users/2009-April/013896.html
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
hat solves your problem. Hopefully that get backported to 1_9_1
branch and you can build 1.9.1 from it.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
that will handle much
better UTF and other encodings.
Once I've that released (in the upcoming days if I hit the Iconv
jackpot), Cucumber can be updated to feed it with the proper encoding
(UTF8)
Since I'm looking targe 1.9 functionality too, will be tricky get
yours a's back tod
have much like *nix, with ansi colors and all that.
As other users commented, setting environment variables is not a
problem on native Windows (I use and abuse of that in a daily basis).
But again, dunno what happens in cygwin island.
>
> Andrew
>
>
>
>
> 2009/1/22 Luis Lavena
&
to run a x server to be able to use Xterm... that is way
more complicated...
James: can you tell us if you're using cygwin ruby or native one?
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to t
mber is already initialized when support/env.rb is loaded.
On Windows, cucumber uses win32console to output colors. I cannot
comment on cygwin since I'm not a user of the environment.
You're mixing cygwin ruby or is native ruby?
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not wh
I'm on windows
>> When I run black box
>> I should get an error ...
>>
>> Given I'm on OSX
>> When I run black box
>> I should not get an error ...
>>
>> Just an idea, HTH
>>
>> Andrew
>>
>>
>> 2008/11/22 L
gt;
Is weird that you have autospec installed in two different places,
unless there was some forced GEM_PATH and GEM_HOME for it.
Both installations are using the bundled ruby version that came with OSX?
If you post the errors will be much helpful, is hard to figure out
things and assist you wit
have mtime as loadby order?
Also, will be nice to know what kind of differences you're getting.
Just output or errors?
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to
ack box
> I should get an error ...
>
> Given I'm on OSX
> When I run black box
> I should not get an error ...
>
> Just an idea, HTH
>
Yeah, your idea looks good.
Wonder if this should be defined as a pending step or it should
generate an skipped one?
--
Luis Lavena
AREA 17
-
tain,
but if is the only choice, no problem.
Thanks in advance for the suggestions.
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so
part20081113-8392-1vodbzf-0")
>
> Shouldn't it be working? The first argument is the same and I don't really
> care about the second one as long as it is there. I also tried to replace
> :anything with :string and got the same error.
>
> Any idea why I get this?
>
out it at
> http://www.pragprog.com/titles/achbd/the-rspec-book.
>
Yay! great news David!
There is no pre-order button!?!?
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also rema
On Tue, Nov 4, 2008 at 8:09 PM, Dr Nic <[EMAIL PROTECTED]> wrote:
> On Nov 5, 1:55 am, "Luis Lavena" <[EMAIL PROTECTED]> wrote:
>> Given a problem I have with RSpec
>> And I post to the mailing list
>> When noone answer my post
>> And has been N
On Tue, Nov 4, 2008 at 1:47 PM, Mike Gunderloy <[EMAIL PROTECTED]> wrote:
> On Nov 4, 2008, at 10:24 AM, Luis Lavena wrote:
>
>> Neither Rails was the one with best documentation (which btw I wonder
>> what happened with the caboose documentation project they
On Tue, Nov 4, 2008 at 1:09 PM, Stephen Eley <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 4, 2008 at 9:55 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
>> On Tue, Nov 4, 2008 at 12:32 PM, Fernando Perez <[EMAIL PROTECTED]> wrote:
>>>
>>> But when I read the p
iven a problem I have with RSpec
And I post to the mailing list
When noone answer my post
And has been N days since I posted
Then I start whining in my blog about it
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also
I don't hear anyone
ranting about the beast it is.
So: the defacto vs. the newcomer. The full of classes and
unpronounceable methods names vs. the descriptive ones.
Pick your framework.
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experienc
re/scenario design instead of low level specs?
BTW: The DSL looks like this:
http://gist.github.com/19707
Thanks in advance for any suggestions.
Regards,
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkab
b?
Did you updated the generate rake tasks?
Since you're using the gem based one, require 'rubygems' before
require 'spec' should work.
I was bitten several time by RubyGems dependencies that I just try to
avoid them, the more explicit you are, the better :-D
--
Luis Lavena
by script/spec.
FYI: There are plenty of tutorials around the web that explain how to
get started with RSpec. I guess english is not your main language and
can be difficult to search for it, but:
google with keywords "rspec rails getting started":
http://www.jbrains.ca/permalink/12
You should have used "ruby script/spec" from the root of your rails
application instead.
Also, if you changed versions of Rails, you need to update
config/environment.rb to match the Rails gem version since you
downgraded to 1.2.3 but forgot to change that file.
I suggest you do thi
t find my customized version (for a console based MVC, it's on
backup now).
Or maybe I'm missing the need to set AUTOTEST and RSPEC env variables first?
HTH,
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are a
1.8.6 (i386-mingw32)
RubyGems version 1.2.0
Rails version 2.1.1
My .autotest file:
http://pastie.org/289187
(exceptions are at ~/.autotest while other stuff is in the RAILS_ROOT of my app.
HTH,
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in havi
talled it takes precedence
> over the gem.
>
But require 'rubygems' on top is missing, ending with LoadError due
missing 'spec' :-P
Will get back to you with facts and all the details, 1.3.0 was
released with a bug on Windows so I need to cook a sandboxed ruby with
trunk vers
ce they try to look for vendor/plugins/
instead of doing:
require 'rubygems'
require 'spec'
Last, but not least, you need to do
config.gem 'rspec-rails', :lib => 'spec/rails' since Rails will try by
default to load 'rspec-rails' module instead
hub.com
gem fetch cucumber --source http://gems.github.com
This will put the .gem file in the folder you performed the task for
you to easily copy to your locked down environment :-D
>>
>> > Would it be too much to ask if you could tag the repo when you jump
>> > to a new r
On Tue, Sep 16, 2008 at 6:05 PM, Mark Wilden <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 16, 2008 at 1:45 PM, Luis Lavena <[EMAIL PROTECTED]> wrote:
>>
>> Only two plugins installed: rspec and rspec-rails :-D
>
> Sure - I was just suggesting you check that they
On Tue, Sep 16, 2008 at 5:22 PM, Mark Wilden <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 16, 2008 at 12:45 PM, Luis Lavena <[EMAIL PROTECTED]> wrote:
>>
>> The funny thing is that another Rails 2.1.1 application works without
>> problems under the same scenario
cation works without
problems under the same scenario with both autotest and
script/autospec.
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
D
On Tue, Sep 16, 2008 at 4:18 PM, Luis Lavena <[EMAIL PROTECTED]> wrote:
> Hey Guys.
>
> I just updated a project form 1.1.4 that was working with autotest
> 3.10 without issues:
>
> 1) Updated spec/model/project_spec.rb and it fired only that spec.
> 2) Updated app/mo
k,
I'll like to know if someone else is facing similar situation (or I'm
just the one with the awkward environment).
Thanks in advance,
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their a
On Wed, Aug 6, 2008 at 6:04 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 2, 2008 at 3:43 PM, Luis Lavena <[EMAIL PROTECTED]> wrote:
>> On Sat, Aug 2, 2008 at 9:04 PM, Mark Wilden <[EMAIL PROTECTED]> wrote:
>>> spec_server is one of the hidd
ource_class is being
stubbed or expected in some actions, but not actually executed.
This is the pastie:
http://pastie.org/247678
Do you guys think that will be best to put the resource_class stub
inside the actions and create another context to deal with those
internals?
Thanks in advance for y
On Tue, Aug 5, 2008 at 10:12 AM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Sat, Aug 2, 2008 at 6:49 PM, Luis Lavena <[EMAIL PROTECTED]> wrote:
>> Hello list,
>>
>> I'm trying to setup some shared specs to describe a CRUD controller
>> and want to
variable inside the shared specs.
In any case, I can workaround using before(:each) blocks before
invoking the shared specs.
Thanks in advance for comments, suggestions and pointers.
[1] http://blog.davidchelimsky.net/2008/7/1/new-controller-examples
--
Luis Lavena
AREA 17
-
Human beings, wh
nd see the results
> of the test almost instantly. Beat that, TextMate!
>
I use autotest, I just save the file and it's executed, then I get the
total test results without distraction, beat that ;-)
Regards,
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having
is into a batch file
(like spec_server.bat)
@echo off
start "spec_server" /min ruby.exe script\spec_server
One problem is that spec_server is not trapping Ctrl-C, so you will require
to use Ctrl-break to stop the minized spec_server.
HTH,
--
Luis Lavena
AREA 17
-
Human beings, who are almost
On Tue, Jul 29, 2008 at 12:09 PM, Tero Tilus <[EMAIL PROTECTED]> wrote:
> 2008-07-29 11:59, Luis Lavena:
>> Did you require rubygems first?
>
> Oh dear! You made my day. \o/
>
Sorry, I'm not a native english speaker, that means it worked? :-)
--
Luis Lavena
AR
x27;spec/rake/spectask'
LoadError: no such file to load -- spec/rake/spectask
from (irb):2:in `require'
from (irb):2
irb(main):003:0> require 'rubygems'
=> true
irb(main):004:0> require 'spec/rake/spectask'
=> true
Maybe just a stupid comm
On Tue, Jul 15, 2008 at 2:03 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 15, 2008 at 3:16 AM, Luis Lavena <[EMAIL PROTECTED]> wrote:
>> [...]
>>
>> Hmn, really?
>>
>> rspec, commit 5bb989c6a54e325198
var must be present (which is set
> by autospec) - so no, the autotest command won't work.
>
Hmn, really?
rspec, commit 5bb989c6a54e325198e180ef3d4e59b5bf6eb21c
rspec-rails: commit 9a1e10e7b71f7e8e4fb910a9695ee69abec63816
http://pastie.org/private/gwgvkbhpbvhvtquslwe6g
But in any c
s of a burden on the system.
>
If I'm in a Mac... running Windows on parallels? ;-)
I think the same can be achieved under Windows using the File monitoring api..
Anyhow, autotest tend to leak some memory due it's scanning (but you
can restart it after 6 hours of continuous monitoring).
5645-rspec/tickets/466-update-autospec-to-work-on-windows
>
The upcoming version of Ruby (1.8.6 after patchlevel 114) will include
a fix for this issue, which I described in this post (less quirks for
us section):
http://blog.mmediasys.com/2008/04/24/contributions-speedup-and-less-quirks-for-us
mething about this?
>
Can you provide more information about your environment and version of
stuff installed like zentest gem, OS, etc?
Also if this error happens when running rake spec too?
>
> Thank you.
Regards,
--
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having t
tuff, but never
managed to replicate the environment to try it.
Regards,
--
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination
On Fri, Apr 4, 2008 at 11:35 AM, Patrick Meunier
<[EMAIL PROTECTED]> wrote:
> This is a great news! Congratulations Pat.
>
+1 on that, The bdd-force within Pat is strong, and is good to see he
is joining the good side of the force :-)
--
Luis Lavena
Multimedia systems
-
Human bei
t; end
> end
>
> class B
> def go
> puts "This is fun."
> end
> end
>
What about:
mock_b = mock(B)
mock_b.stub!(:go).and_return(true)
B.stub!(:new).and_return(mock_b)
Something like that?
--
Luis Lavena
Multimedia systems
-
Human beings, wh
e to type, putting that into my brain will
push out of the stack my 3 years old memories...
Wouldn't be better submit some patches to Rails and make script/plugin
Git-aware?
--
Luis Lavena
Multimedia systems
-
Human beings, who are almost unique in having the ability to learn from
the expe
no longer capable of capturing the
STDOUT/STDERR of the child process and thus, not displaying the
result.
I'm aware that win32console author is working on workaround this
limitation, but no other news.
HTH,
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when t
les with it and failed... It seems if the
source isn't captured with it, the compression is the worse you could
get (200MB files for 5 minutes).
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the
with mencoder, I can play with mplayer.
>Reports on success or failure of other players welcome.
weird codec combo... you should have used thedora or xvid at least :-P
(cannot play or even recognize the .avi codec signature).
Anyway, will look at it when switch to linux.
--
Luis Lavena
M
removed both
> completely and installed the 1.1.3 release, and now rake spec works
> but not individual files.
>
> Ideas?
>
You need to also update your rspec gem, since TM is using "spec file"
and not rake
HTH,
--
Luis Lavena
Multimedia systems
-
A common mistake that
re is ready for integration, you then prepare
and merge upstream with it.
Takes some time to get used to it ;-)
Anyway, at least with bzr, you can work in a similar way to subversion
(running a smart server) and have bound checkout.
In any case, read the documentation of all the dvcs to find th
(topic branches?) which make it more attractive.
In any case, the use of python in both cases make Hg and Bzr a good
alternative to git.
Good luck and hope you then share your findings.
Regards,
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something
using it to push new development of One-Click Ruby Installer [3]
[1] http://bazaar-vcs.org/BzrVsGit
[2] http://bazaar-vcs.org/BzrVsHg
[3]
http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/1e2f1b9a3d611e3b
--
Luis Lavena
Multimedia systems
-
A common mistake that people m
n't find anything besides this (rspec/lib/spec/runner/option_parser.rb:111)
on(*OPTIONS[:drb]) {}
==
Maybe I'm missing something, did anyone get it working?
Thanks in advance,
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something comp
ets/244-no-coloured-output-on-windows-due-missing-rubyopt
If you have RubyGems 0.9.5, please update to 1.0.1 or revert to 0.9.4,
since that specific version is broken for Windows, as I commented
there and linked to my blog:
http://blog.mmediasys.com/2007/12/19/latest-rubygems-and-rails-is-
unner
configuration option or before behavior that could be change.
(http://rspec.info/rdoc-rails/classes/ActionController/Rescue.html#M07)
What I'm doing wrong? What I'm missing?
Thanks in advance for your time.
Regards,
--
Luis Lavena
Multimedia systems
-
A common mistake that people m
? can you ditch
vendor/plugins/rspec and rspec_on_rails and try again?
It's truly odd.
Can you try removing the spec.opts, spec_helper files and ran the
rspec generator again?
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something completely fo
nario (pre_commit and
everything) to run the specs, I assume will not affect any other place
(since is just for windows).
This fix problems when using rake tasks, script/spec and 'spec' script
installed by rubygems.
Looking forward for this made into the next version.
Regards,
red-output-on-windows-due-missing-rubyopt
It seems that --colour affects not only lib/runner/options.rb, but
other places too.
Maybe we should change the behavior for windows and revert to false if
Win32/Console/ANSI is not found instead of raising a exception.
David, Aslak?
--
Luis Laven
already been applied, but not the change to
> options.rb. I'm not sure I see any relationship between that and
> problems you might be experiencing with 1.9 (unless win32console does
> not yet support 1.9). Feel free to submit a ticket to the tracker on
> this one.
David, will n
ad of
a relative one (../spec/fixtures) provide one related to RAILS_ROOT,
which will work no matter where you put your helper or what is your
current directory (Dir.chdir).
HTH,
--
Luis Lavena
Multimedia systems
-
A common mistake that people make when trying to design
something completely foolproo
e.org/projects/sqlite-ruby/
[2]
http://rubyforge.org/tracker/index.php?func=detail&aid=10765&group_id=254&atid=1043
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of u
an internal or external command,
> operable program or batch file.
>
> C:\var\RSpec\depot>ruby script/spec --help # works better
>
That's because you didn't installed rspec as 'gem' beside as plugin:
gem install rspec
that will enable the 'spec' comman
ing" the wrong question to your model?
(not tested code)
it "should have a title" do
@product = Product.new(:title => nil)
@product.should_not be_valid
@product.should have_at_least(1).errors_on(:title)
end
also, versions of ruby, rails, rspec and database engine are helpful t
to-date repository "cross-platform
accessible" I'll be happy.
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
___
On Nov 19, 2007 1:21 AM, Kevin Williams <[EMAIL PROTECTED]> wrote:
> On 11/18/07, Luis Lavena <[EMAIL PROTECTED]> wrote:
> > On Nov 18, 2007 9:57 PM, Kevin Williams <[EMAIL PROTECTED]> wrote:
> > > I don't intend to use RSpec source either, but I suspect
eed to
"update" your plugins (rspec and rspec_on_rails) if a bug you found
with the release got fixed in the repository.
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any g
emove it? (I can't imagine
> anyone using it, especially with the much better HTML formatter)
>
Go ahead, I didn't know was there :-P
HTML output is more fancy than RDoc ;-)
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
whic
o on...
> Is it possible for this to be a separate library from RSpec so that
> RSpec core doesn't become bloated?
AFAIK, spec and stories run in different paths. you can just ignore
the stories part and keep using the spec one.
--
Luis Lavena
Multimedia systems
-
Leaders are made, they
ious or
what email before that...
Take some time look for it, but anyone could do it -- I personally
dislike this method :-P
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must
_tag expect 'tag' and 'content'...
There was a previous discussion on how to assert on HTML element attributes.
http://rubyforge.org/pipermail/rspec-users/2007-September/003205.html
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made
Could work for you?
The whole spec will be helpful, since we don't have the setup (before)
or the whole context.
HTH,
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is wo
requires ActiveResource, and the rake
freeze:edge:rails don't checkout it.
Your options:
A) Use Piston to checkout Rails Edge:
piston import http://svn.rubyonrails.org/rails/trunk/ vendor/rails
(your code should be under version control)
B) Manually checkout it the missing part
svn co http
you run just that example:
spec spec\controllers\my_controller_spec.rb -e "My failing example name"
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
i
> Finally, a debugging environment that matches the production environment!
>
I agree.
When debug is required, I switch to script/spec and specify the exact
file and specification to run, in that way, reduce the problems
loading ruby-debug and getting my feet wet with Rails code :)
--
Lui
tes added
later in the development phase).
As David himself said on that post:
"
Perfect use of custom matchers! Nice.
Cheers, David
"
:-D
--
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay
007."
Yeah, Ben agreed that Quechup will log into his account, grab all their
contacts and mass mail them, without a bit of logic to disregard/filter
mailing lists addresses...
I love those sites... too viral for my taste :-P
Also, another facebook clone hits the web... I even don't lik
s for your model in that
specified context, make it shared and later do it_should_behave_like
'...' ?
As previous discussed inthe list, creating specs for especific
functionality (like the acts_as_list thread) will make your specs
brittle.
Expecting results (which the aim of BDD) is more helpf
A follow up...
On 8/14/07, Luis Lavena <[EMAIL PROTECTED]> wrote:
> Hello Guys.
>
> I'm upgrading a project from 0.9.8 to 1.0.8, following this procedure:
>
First, is 0.9.4 :-)
>
> Now, when running rake, get the following error: superclass mismatch
> for cl
1 - 100 of 101 matches
Mail list logo