similar to: 0.7.5 Doesn''t Let My Tests Run

Displaying 20 results from an estimated 500 matches similar to: "0.7.5 Doesn''t Let My Tests Run"

2006 Dec 25
1
Issues with 0.7.5
I installed 0.7.5 and the corresponding Rails plugin. Now it seems that the rake command is: rake spec:autotest I immediately ran into several problems: 1. rspec_autotest.rb line 30 has curly quotes and makes Ruby choke 2. Same line, rails_spec is spelled solid, when it should have the underscore But fixing these didn''t get me back going. Now I have to have a rails_spec_server
2012 Mar 29
2
Rails 3.2 and Streaming using response_body
I am working on a streaming download (CSV) from Rails 3.2 and am coming up against an issue of the initial page request taking a long time. The following controller code illustrates my issue: self.response_body = Enumerator.new do |y| 10_000_000.times do y << "Hello World" end end With the above, the response does seem like its streaming
2006 Oct 04
1
String.should_hav_tag
I''ve just upgraded to rspec 0.6.4 and several specs were broken. All for the same reason. String.should_have_tag doesn''t seem to be supported any longer. It used to be possible to write assertions like: response.body.should_have_tag :tag => "form" or "<html><body/></html>".should_have_tag :tag => "body" But these fail
2009 Sep 13
0
regrex_crawler -- a crawler which uses regular expression to catch data from website
RegexpCrawler is a crawler which uses regular expression to catch data from website. It is easy to use and less code if you are familiar with regular expression. The project site is: http://github.com/flyerhzm/regexp_crawler/tree I give an example: a script to synchronize your github projects except fork projects, , please check example/github_projects.rb require ''rubygems''
2012 Sep 18
4
multiple modules defining same method included into a class
In Ruby, classes are never closed: you can always add methods to an existing class. This applies to the classes you write as well as the standard, built-in classes. All you have to do is open up a class definition for an existing class, and the new contents you specify will be added to whatever''s there. In the same regard, if module is used with the name of a pre-existing module that
2011 May 17
1
rails render_to_string problem
Hi I`m trying to test my controller with rspec and always get an error. The error is in the render_to_string method call (without it test works fine). So could u please help me with that? users_controller.rb: def update @user.update_attributes!(params[:user]) redirect_to @user, :status => 202, :text => render_to_string(:partial => "users/show", :type =>
2023 Jul 06
0
njs-0.8.0
Hello, I'm glad to announce a new release of NGINX JavaScript module (njs). Notable new features: - shared dictionaries: Shared dictionary keeps the key-value pairs shared between worker processes. This allows to cache data in memory and share it between workers. : example.conf: : # Creates a 1Mb dictionary with string values, : # removes key-value pairs after 60 seconds of inactivity:
2007 Jan 12
2
spec_ui problems
While looking into spec_ui, I decided to run the examples. The watir example works a little, but always chokes on the ''better than fudge'' spec (failure output below). Also, is there any command to pause the "browser"? If my connection slows, the test gets out of whack. The selenium example fails right away (output below). I do have the 0.9.0 selenium-rc
2011 Sep 15
0
streaming with rails 3.1 and ruby 1.8.7
Hey! I''m working with an app where migrating to ruby 1.9.2 is currently not an option, so I can not use Rails 3.1 streaming. One of the features is sending large XML and CSV files. In Rails 3.0 I used the self.response_body {} hack which worked pretty OK. This stopped working in Rails 3.1. How can I do streaming with Rails 3.1 and ruby 1.8.7? -m. -- You received this message
2013 Feb 01
0
Add a customer renderer but I get missing template
Hi, I''m trying to include the support of Msgpack<https://github.com/msgpack/msgpack-ruby> in Rails 3.2 but when I try to return a mpac response, I get an error concerning a missing template. My renderer: Mime::Type.register ''application/x-mpac'', :mpac ActionController::Renderers.add :mpac do |mpac, options| self.content_type ||= Mime::MPAC
2013 Oct 09
0
getting selenium working with jruby/sinatra/cucumber/webrat on windows
I am trying to run cucumber/webrat with Sinatra on Jruby 1.7.3 (1.9.3) on Windows. It seems to work ok, but when I try to add selenium to webrat. I get the error shown below. It seems like it thinks it is in a linux environment or something as the error happens when it tries to start selenium server and there is a "&" at the end of the argument chain. I took a look at capybara
2011 Jan 08
0
AstLinux 0.7.5 released
The AstLinux Team is happy to announce the release of AstLinux 0.7.5 with options for both Asterisk 1.8.1.1 and Asterisk 1.4.36. More information about the release is available on our website: http://www.astlinux.org/content/astlinux-075-release Direct links to the installation files are available here: http://www.astlinux.org/release/075-asterisk-1811
2006 Dec 21
1
heres how to get color output in rspec_autotest with rspec 0.7.5
In case anyone else is trying to make this work, here is what I did (Before 0.7.4 I had patched the regex in zentest redgreen, but that is not used any more) To use directly, it is very simple. In rspec_autotest/lib/ rspec_autotest.rb, add a -c to the spec_command in the initializer function: @spec_command = "spec -c --diff unified" This won''t help however if you want
2006 Dec 23
2
Having trouble installing the Rails plugin with Rspec 0.7.5
Hi, I''m running Rails 1.1.6 and just installed RSpec 0.7.5. When I try to install the appropriate Rails plugin, it just says that "Export Complete" and doesn''t install anything to vendor. I can do it with older version, but then it''s not compatible with RSpec. Any ideas? blissdev:~/code/rails/client/wordone > ruby script/plugin install
2007 Jan 12
2
After upgrade to 0.7.5, specs are now using the development, not the test DB
Hi, After I upgraded RSpec from 0.7.4 to 0.7.5, first the gem, then the Rails plugin, I noticed that when I ran my spec/models, the fixtures were overwriting the data in the development environment DB, not the test one. The test environment was being used prior to the upgrade. I am using SQLite3 and an in-memory db for the test environment. Any help would be appreciated. Thanks Ed -- Ed
2006 Dec 20
8
RSpec 0.7.5
The RSpec Development Team is pleased to announce the release of RSpec 0.7.5. This release adds support for Heckle - Seattle''rb''s code mutation tool. There are also several bug fixes to the RSpec core and the RSpec on Rails plugin. Changes: http://rspec.rubyforge.org/changes.html Download: http://rubyforge.org/frs/?group_id=797 or gem install rspec Happy spec''ing,
2006 Dec 21
7
rspec_autotest no longer re-runs tests with rspec 0.7.5
Has anyone else encountered this problem? What I mean is, rspec_autotest runs all specs, then waits. When you change a spec, it reruns that spec. However, if that spec now passes, it should run the whole suite again, so you can see the next one to work on. It no longer does this. This renders it somewhat useless. Does anyone have autotest working with rspec 0.7.5, or does anyone have any
2008 Feb 28
1
question about extlinux.conf on flashstick with ext2
Hi , I ve tested the pclinux minime on usb 1Gb and later 8Gb, with fat32 and syslinux boot , works splendid in Ram , and persistant saves on stick.. Now i want to try extlinux-boot with ext2 or 3 on the usb. With ext3 , i get constantly bumped to commandline, where i could type in the vmlinuz and initrd paths , but it cant make the loop-file of minime work..so it gets little panic :* But it wont
2007 Jan 05
6
RSpec 0.7.5 with Rails and rcov
I seem to be missing something because I am at a loss on how to get rcov, RSpec, and Rails working together. Would someone mind dropping some hints?
2009 Jan 07
1
Problems with EasyEclipse Ruby Rails 1.2.2.2
Hi, I''m a real newbie both in Rails and Ubuntu but I''m going to learn Ruby on Rails for a schoolproject. I''ve tried to find out what IDE is best according to different tutorials and blogs and have chosen to download easyeclipse-ruby-rails-1.2.2.2.tar.gz. My problem is that when i start the program an error popup is shown: "An error has occurred. See the log file.