Commit 8d141577dd238409caf0c098a9be1d9deb4b5992
Committed by
Paulo Meireles
1 parent
e5069c25
Exists in
master
and in
22 other branches
Update javascript and stylesheet
Showing
6 changed files
with
12 additions
and
25 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin.rb
| @@ -17,7 +17,7 @@ class MezuroPlugin < Noosfero::Plugin | @@ -17,7 +17,7 @@ class MezuroPlugin < Noosfero::Plugin | ||
| 17 | end | 17 | end |
| 18 | 18 | ||
| 19 | def js_files | 19 | def js_files |
| 20 | - 'javascripts/collapsable.js' | 20 | + 'javascripts/toogle.js' |
| 21 | end | 21 | end |
| 22 | 22 | ||
| 23 | -end | 23 | -end |
| 24 | +end | ||
| 24 | \ No newline at end of file | 25 | \ No newline at end of file |
plugins/mezuro/public/javascripts/collapsable.js
plugins/mezuro/public/style.css
plugins/mezuro/test/unit/kalibro/entities/project_test.rb
| @@ -2,7 +2,7 @@ class ProjectTest < Test::Unit::TestCase | @@ -2,7 +2,7 @@ class ProjectTest < Test::Unit::TestCase | ||
| 2 | 2 | ||
| 3 | def self.qt_calculator | 3 | def self.qt_calculator |
| 4 | project = Kalibro::Entities::Project.new | 4 | project = Kalibro::Entities::Project.new |
| 5 | - project.name = 'Qt-Calculator by ProjectTest' | 5 | + project.name = 'Qt-Calculator' |
| 6 | project.license = 'GPL' | 6 | project.license = 'GPL' |
| 7 | project.description = 'Calculator for Qt' | 7 | project.description = 'Calculator for Qt' |
| 8 | project.repository = RepositoryTest.qt_calculator | 8 | project.repository = RepositoryTest.qt_calculator |
| @@ -12,7 +12,7 @@ class ProjectTest < Test::Unit::TestCase | @@ -12,7 +12,7 @@ class ProjectTest < Test::Unit::TestCase | ||
| 12 | end | 12 | end |
| 13 | 13 | ||
| 14 | def self.qt_calculator_hash | 14 | def self.qt_calculator_hash |
| 15 | - {:name => 'Qt-Calculator by ProjectTest', :license => 'GPL', | 15 | + {:name => 'Qt-Calculator', :license => 'GPL', |
| 16 | :description => 'Calculator for Qt', | 16 | :description => 'Calculator for Qt', |
| 17 | :repository => RepositoryTest.qt_calculator_hash, | 17 | :repository => RepositoryTest.qt_calculator_hash, |
| 18 | :configuration_name => 'Kalibro for Java', | 18 | :configuration_name => 'Kalibro for Java', |
plugins/mezuro/test/unit/mezuro_plugin_test.rb
| @@ -25,7 +25,7 @@ class MezuroPluginTest < Test::Unit::TestCase | @@ -25,7 +25,7 @@ class MezuroPluginTest < Test::Unit::TestCase | ||
| 25 | end | 25 | end |
| 26 | 26 | ||
| 27 | should 'list javascript files' do | 27 | should 'list javascript files' do |
| 28 | - assert_equal 'javascripts/collapsable.js', @plugin.js_files | 28 | + assert_equal 'javascripts/toogle.js', @plugin.js_files |
| 29 | end | 29 | end |
| 30 | 30 | ||
| 31 | end | 31 | end |
| 32 | \ No newline at end of file | 32 | \ No newline at end of file |