google-code-export / globalite

Automatically exported from code.google.com/p/globalite
1 stars 0 forks source link

specs do not pass #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. fetched latest globalite from github
2. installed is as a plugin in empty rails 2.0.2 project
3. run spec on l10n_spec.rb 

What is the expected output? What do you see instead?

i expect every test to pass, but some of them failed

What version of the product are you using? On what operating system?

rails 2.0.2, globalite from trunk (version from 26.april.2008), rspec 1.1.3
(version from 26.april.2008)

Please provide any additional information below.

pnowak@pnowak-laptop:~/workspace/ruby/glob$ spec
vendor/plugins/globalite/spec/l10n_spec.rb 
.................F......F.........

1)
'After loading languages, Globalite should find translations for a locale
without country even though there's no generic translation for the
language' FAILED
expected not if to be satisfied, got {}
./vendor/plugins/globalite/spec/l10n_spec.rb:127:

2)
'a localization key (in general) should return the available localization
for the language' FAILED
expected: "Welcome mate!",
     got: "Welcome, dude!" (using ==)
./vendor/plugins/globalite/spec/l10n_spec.rb:199:

Finished in 0.588885 seconds

34 examples, 2 failures

Original issue reported on code.google.com by p.now...@gmail.com on 26 Apr 2008 at 1:17

GoogleCodeExporter commented 9 years ago
fixed, runs within a rails app (2.1rc1) see github example app for more info. 
(might
require you do a git submodule init, git submodule update)

Original comment by mattAimo...@gmail.com on 14 May 2008 at 7:08