albertopq / jquery_datepicker

Rails 3 plugin that allows you to select dates from a calendar
91 stars 60 forks source link

This allows compatibility to the jquery_datepicker plugin with projects that use prototype.js and jquery. #12

Closed viniciuscb closed 12 years ago

viniciuscb commented 12 years ago

Simple changing from a $(...) to jQuery(...)

albertopq commented 12 years ago

You need to change the spec tests as well. Now are failing.

Thanks for your contribution!!

viniciuscb commented 12 years ago

Hello, I am trying to make the environment to test this code, do you have some reference? I tried installing rspec and rspec-rails but could not test properly the code via commmandline. Maybe I am doing something wrong?

How do you test your code in github? This code must be inside a rails project?

Here some what I am trying to do, thank you in advance for your help.

rmi$ specrb spec/jquery_datepicker_spec.rb /Library/Ruby/Gems/1.8/gems/rspec-rails-2.7.0/lib/rspec/rails/matchers/render_template.rb:3: uninitialized constant RSpec::Matchers (NameError) from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:55:in gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:55:inrequire' from /Users/rmi/jquery_datepicker/spec/spec_helper.rb:7 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:inrequire' from ./spec/jquery_datepicker_spec.rb:2 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:inrequire' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/collector/dir.rb:90:in collect_file' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/collector/dir.rb:77:in recursive_collect' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/collector/dir.rb:29:in collect' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:68 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:213:in []' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/test/unit/autorunner.rb:213:in run' from /Library/Ruby/Gems/1.8/gems/test-spec-0.10.0/bin/specrb:107 from /usr/bin/specrb:19:inload' from /usr/bin/specrb:19

On Tue, Dec 13, 2011 at 11:37 AM, albertopq < reply@reply.github.com

wrote:

You need to change the spec tests as well. Now are failing.

Thanks for your contribution!!


Reply to this email directly or view it on GitHub: https://github.com/albertopq/jquery_datepicker/pull/12#issuecomment-3122945


Vinicius Cubas Brand professor de yoga +55 (41) 8834-3101 www.vinici.us www.govardhana.com.br


Como voc est respirando AGORA.

........_ ..... \ > ....() / (_)

albertopq commented 12 years ago

After install rails and rspec, it should work..

$ gem install rails $ gem install rspec $ cd jquery_datepicker $ rspec

Don't worry, I'll update the code later :)

Thanks!!