remove duplicated function declaration in spec test
Merge pull request #1268 from dgruseck/fix_spec_build

[ResourceBundle] remove duplicated function in spec build